Skip to content

Commit

Permalink
Updated tests directory
Browse files Browse the repository at this point in the history
  • Loading branch information
benatespina committed Jun 19, 2018
1 parent 15e206f commit d15a6bb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ install:

script:
- npm test -- --coverage
- node_modules/.bin/eslint -c .eslintrc.js src/ __tests__
- node_modules/.bin/prettier 'src/**/*.js' '__tests__/**/*.js' --list-different --single-quote --no-bracket-spacing --trailing-comma all
- node_modules/.bin/eslint -c .eslintrc.js src/ tests
- node_modules/.bin/prettier 'src/**/*.js' 'tests/**/*.js' --list-different --single-quote --no-bracket-spacing --trailing-comma all

cache:
directories:
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@
"common-bundle": "node_modules/.bin/babel --copy-files --out-dir dist/common src",
"esm-bundle": "cp -R src dist/esm",
"cs": "npm run eslint && npm run prettier",
"prettier": "node_modules/.bin/prettier '__tests__/**/*.js' 'src/**/*.js' --write --single-quote --no-bracket-spacing --trailing-comma all",
"eslint": "node_modules/.bin/eslint src/**/*.js __tests__/**/*.js"
"prettier": "node_modules/.bin/prettier 'tests/**/*.js' 'src/**/*.js' --write --single-quote --no-bracket-spacing --trailing-comma all",
"eslint": "node_modules/.bin/eslint src/**/*.js tests/**/*.js"
},
"files": [
"dist",
"CHANGELOG.md",
"README.md"
],
"jest": {
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.jsx?$"
},
"babel": {
"presets": [
"@babel/preset-react",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d15a6bb

Please sign in to comment.