Skip to content

Commit

Permalink
Merge pull request #720 from alphagov/fix-after-tests
Browse files Browse the repository at this point in the history
Ensure 'after' tests are not ignored
  • Loading branch information
NickColley committed May 29, 2018
2 parents 868b9de + 6000f5c commit 3f2b174
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Internal:
- Fix CI timeouts: run Jest single thread in TravisCI
([PR #712](https://github.com/alphagov/govuk-frontend/pull/712))

- Ensure 'after' tests are not ignored
([PR #720](https://github.com/alphagov/govuk-frontend/pull/720))

## 0.0.29-alpha (Breaking release)

Breaking changes:
Expand Down
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 3f2b174

Please sign in to comment.