Skip to content

Commit

Permalink
Ensure 'after' tests are not ignored
Browse files Browse the repository at this point in the history
After tests are only used to test the result of other tasks, for example
building the `dist/` folder.
  • Loading branch information
NickColley committed May 29, 2018
1 parent 934cf0e commit 0a608ed
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"release": "node bin/check-nvmrc.js && ./bin/release.sh",
"build:package": "node bin/check-nvmrc.js && gulp build:package --destination 'package' && npm run test:build:package",
"build:dist": "node bin/check-nvmrc.js && gulp build:dist --destination 'dist' && npm run test:build:dist",
"test": "standard && gulp test && gulp copy-assets && jest",
"test": "standard && gulp test && gulp copy-assets && jest --testPathIgnorePatterns='after-*'",
"test:build:package": "jest tasks/gulp/__tests__/after-build-package.test.js",
"test:build:dist": "jest tasks/gulp/__tests__/after-build-dist.test.js"
},
Expand Down Expand Up @@ -85,10 +85,6 @@
]
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"after-*"
],
"setupTestFrameworkScriptFile": "./config/jest-setup.js",
"snapshotSerializers": [
"jest-serializer-html"
Expand Down

0 comments on commit 0a608ed

Please sign in to comment.