Skip to content

Commit

Permalink
use the default test runner
Browse files Browse the repository at this point in the history
jest-circus is now the default test runner.

https://jestjs.io/blog/2021/05/25/jest-27
  • Loading branch information
shogo82148 committed Jul 8, 2023
1 parent 150e45e commit fd4f89c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
13 changes: 6 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ updates:
schedule:
interval: "daily"
ignore:
# update too often, ignore patch releases
- dependency-name: "@types/node"
update-types: ["version-update:semver-patch"]
groups:
jest-monorepo:
patterns:
- "jest"
- "jest-circus"
update-types:
# We update the major version manually,
# because it should be the same as the runtime version.
- "version-update:semver-major"
# update too often, ignore patch releases
- "version-update:semver-patch"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
12 changes: 5 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
moduleFileExtensions: ["js", "ts"],
testMatch: ["**/*.test.ts"],
transform: {
'^.+\\.ts$': 'ts-jest'
"^.+\\.ts$": "ts-jest",
},
verbose: true
}
verbose: true,
};
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"eslint-plugin-github": "^4.8.0",
"eslint-plugin-jest": "^27.2.2",
"jest": "^29.6.0",
"jest-circus": "^29.6.0",
"js-yaml": "^4.1.0",
"prettier": "2.8.8",
"ts-jest": "^29.1.1",
Expand Down

0 comments on commit fd4f89c

Please sign in to comment.