Skip to content

Commit acabd40

Browse files
renovate[bot]renovate-botolleolleolledavidjgoss
authored
chore(deps): update dependency jest to v28 (#158)
* chore(deps): update dependency jest to v28 * Upgrade ts-jest to a pre-release matching 28.0.0 This is an experimental commit, to see whether it could work. * fix: Add needed jest-environment-jsdom This is now delivered separately. Validation Error: Test environment jest-environment-jsdom cannot be found. Make sure the testEnvironment configuration option points to an existing node module. Configuration Documentation: https://jestjs.io/docs/configuration * pin uuid to get around esm issue * fix css modules stuff Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Olle Jonsson <[email protected]> Co-authored-by: David Goss <[email protected]>
1 parent 24f3911 commit acabd40

File tree

6 files changed

+3807
-1929
lines changed

6 files changed

+3807
-1929
lines changed

jest.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
module.exports = {
33
preset: 'ts-jest',
44
testEnvironment: 'jsdom',
5-
transform: {
6-
'.+\\.(css|scss)$': 'jest-css-modules-transform',
5+
moduleNameMapper: {
6+
'.+\\.(css|scss)$': 'identity-obj-proxy',
77
},
88
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
99
}

0 commit comments

Comments
 (0)