Skip to content

Commit

Permalink
Use jest cli options.
Browse files Browse the repository at this point in the history
  • Loading branch information
tasdomas committed Oct 6, 2022
1 parent 894887e commit d937d76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
6 changes: 0 additions & 6 deletions jest.config.e2e.js

This file was deleted.

11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"scripts": {
"lintfix": "eslint --fix ./ && prettier --write '**/*.{js,json,md,yaml,yml}'",
"lint": "eslint ./",
"test": "yarn test:unit && yarn test:e2e",
"test:unit": "jest --forceExit",
"test:e2e": "jest -c jest.config.e2e.js --forceExit",
"test": "jest --forceExit",
"test:unit": "jest --testPathIgnorePatterns='e2e.test.js$' --forceExit",
"test:e2e": "jest --testNamePattern='e2e.test.js$' --forceExit",
"do_snapshots": "jest --updateSnapshot"
},
"husky": {
Expand Down Expand Up @@ -125,10 +125,7 @@
"globalSetup": "./tests/setup.js",
"globalTeardown": "./tests/teardown.js",
"testTimeout": 600000,
"collectCoverage": true,
"testPathIgnorePatterns": [
"e2e.test.js$"
]
"collectCoverage": true
},
"pkg": {
"bin": "bin/cml.js",
Expand Down

2 comments on commit d937d76

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Test Comment

CML watermark

Please sign in to comment.