-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jest works with globals so they have to be added to the Eslint configuration. I decided to move tests next to the files they test (jest picks up files that are name *.test.js) to make them easier to locate. They need to be ignored by babel to not show up in the lib folder (that is published to npm). jest comes with a coverage tool and a watch mode so nyc and npm-watch are no longer needed. nickmerwin/node-coveralls#126 (comment)
- Loading branch information
1 parent
e91f79b
commit adfaf2d
Showing
6 changed files
with
16 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ parserOptions: | |
env: | ||
node: true | ||
es6: true | ||
jest: true | ||
|
||
# Rules | ||
# http://eslint.org/docs/rules/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
# ES6 files | ||
src | ||
|
||
# Tests | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import convertToStylelint from './index' | ||
|
||
it('should not be implemented', () => { | ||
expect(convertToStylelint()).toBe('Not implemented') | ||
}) |
This file was deleted.
Oops, something went wrong.