Skip to content

Commit 855c577

Browse files
chore(deps-dev): bump ts-jest from 29.2.0 to 29.2.2 (#322)
* chore(deps-dev): bump ts-jest from 29.2.0 to 29.2.2 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.2.0 to 29.2.2. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.2.0...v29.2.2) --- updated-dependencies: - dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * fix: update jest config --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bertrand Marron <[email protected]>
1 parent 7881543 commit 855c577

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed
File renamed without changes.

Diff for: jest.config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import {type Config} from '@jest/types'
1+
import {type JestConfigWithTsJest} from 'ts-jest'
22

3-
const config: Config.InitialOptions = {
4-
preset: 'ts-jest',
3+
const config: JestConfigWithTsJest = {
4+
preset: 'ts-jest/presets/default-esm',
55
testEnvironment: 'node',
66
clearMocks: true,
77
collectCoverage: true,
88
collectCoverageFrom: ['src/**/*.ts'],
9-
coverageReporters: ['lcov', 'text-summary'],
9+
coverageReporters: ['text-summary', 'cobertura'],
1010
}
1111

1212
export default config

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"types": "./dist/index.d.ts",
2323
"scripts": {
2424
"preinstall": "npx only-allow pnpm",
25-
"test": "jest",
25+
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
2626
"check:ts": "tsc --noEmit",
2727
"build": "microbundle",
2828
"dev": "microbundle watch"
@@ -36,7 +36,7 @@
3636
"jest": "^29.7.0",
3737
"microbundle": "^0.15.1",
3838
"semantic-release": "^24.0.0",
39-
"ts-jest": "^29.2.0",
39+
"ts-jest": "^29.2.2",
4040
"ts-node": "^10.9.2",
4141
"typescript": "^5.5.3",
4242
"xo": "^0.58.0"

Diff for: pnpm-lock.yaml

+6-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)