Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add jest as an ESLint environment and switch tests from tape to jest #11

Merged
merged 2 commits into from Nov 21, 2016

Conversation

ntwb
Copy link
Member

@ntwb ntwb commented Nov 20, 2016

I think this would be released as a minor semver update, i.e. 5.1.0:
• Adding jest as an additional environment variable should not cause CI failures

t.ok(isObject(config.env), "env is object")
t.ok(isObject(config.rules), "rules is object")
t.end()
it("Test basic properties of config", function () {
Copy link
Member

Choose a reason for hiding this comment

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

Lowercase "T" please.

})

test("load config in eslint to validate all rule syntax is correct", function (t) {
it("Load config in ESLint to validate all rule syntax is correct", function () {
Copy link
Member

Choose a reason for hiding this comment

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

And "L" please.

@jeddy3
Copy link
Member

jeddy3 commented Nov 20, 2016

Good stuff thanks. Two minor requests.

I don't think we need to worry about the loss of the individual assertions descriptions here as they are kind of redundant.

@ntwb
Copy link
Member Author

ntwb commented Nov 21, 2016

done 😄

@jeddy3 jeddy3 merged commit dac7ff0 into master Nov 21, 2016
@jeddy3 jeddy3 deleted the jest branch November 21, 2016 10:30
@jeddy3
Copy link
Member

jeddy3 commented Nov 21, 2016

Thanks :)

@ntwb ntwb mentioned this pull request Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants