Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Add support for custom preferences page #543

Closed
wants to merge 1 commit into from
Closed

Add support for custom preferences page #543

wants to merge 1 commit into from

Conversation

nt1m
Copy link
Contributor

@nt1m nt1m commented Jun 25, 2016

No description provided.

@nt1m
Copy link
Contributor Author

nt1m commented Jun 25, 2016

review?(@kumar303)

@kumar303
Copy link
Contributor

Thanks for the patch. This looks pretty straightforward. It also needs a unit test. You can run the suite with npm test unit; take a look at https://github.com/mozilla-jetpack/jpm/blob/master/test/unit/test.rdf.js

@nt1m
Copy link
Contributor Author

nt1m commented Jul 1, 2016

@kumar303 Thanks for taking a look! Added automated tests.

expect(optType.firstChild.data).to.be.equal("3");
});

it("sets em:optionsType to 3 both `preferences` and `preferencesURL` exist", function() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typo: missing "if" in the sentence

@kumar303
Copy link
Contributor

kumar303 commented Jul 1, 2016

The tests look great, thanks. Can you squash it into one commit?

@nt1m
Copy link
Contributor Author

nt1m commented Jul 1, 2016

@kumar303 Done, thanks!

@kumar303
Copy link
Contributor

kumar303 commented Jul 1, 2016

Hmm. I'm not sure why the suite is failing now. Do you see these same failures locally?

@nt1m
Copy link
Contributor Author

nt1m commented Jul 1, 2016

@kumar303 I can't reproduce locally with npm test. It don't see how squashing commits can cause this. Can you try retriggering the Travis build ?

@kumar303
Copy link
Contributor

kumar303 commented Jul 2, 2016

I retriggered the build once already, didn't seem to make a difference. Did you rebase on top of the latest master? Might be worth a try.

@freaktechnik
Copy link
Contributor

The failures here seem to be the same as in #546

@kumar303
Copy link
Contributor

You can rebase on master to get a fix for the failing Firefox tests

@kumar303
Copy link
Contributor

The commit message should also be prefixed with feat: (for 'feature') because we've switched to a semantic changelog.

@nt1m nt1m closed this Jul 12, 2016
@kumar303
Copy link
Contributor

moved to #549

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants