Skip to content

Commit ce30931

Browse files
authored
Merge pull request #754 from btea/task/0-update-ts-jest-config
#0@trivial: Update ts-jest config remove warn.
2 parents 75d4cb8 + bef7c2c commit ce30931

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

packages/happy-dom/package.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,20 @@
3434
},
3535
"jest": {
3636
"transform": {
37-
"^.+\\.ts?$": "ts-jest"
37+
"^.+\\.ts?$": ["ts-jest", { "tsconfig": "./test/tsconfig.json" }]
3838
},
3939
"testMatch": [
4040
"**/test/**/*.test.ts"
4141
],
42-
"globals": {
43-
"ts-jest": {
44-
"tsconfig": "./test/tsconfig.json"
45-
}
46-
},
4742
"testEnvironment": "node"
4843
},
4944
"dependencies": {
45+
"css.escape": "^1.5.1",
5046
"he": "^1.2.0",
5147
"node-fetch": "^2.x.x",
52-
"whatwg-encoding": "^2.0.0",
53-
"whatwg-mimetype": "^3.0.0",
5448
"webidl-conversions": "^7.0.0",
55-
"css.escape": "^1.5.1"
49+
"whatwg-encoding": "^2.0.0",
50+
"whatwg-mimetype": "^3.0.0"
5651
},
5752
"devDependencies": {
5853
"@types/he": "^1.1.2",
@@ -63,16 +58,16 @@
6358
"@typescript-eslint/parser": "^5.16.0",
6459
"eslint": "^8.11.0",
6560
"eslint-config-prettier": "^8.5.0",
66-
"eslint-plugin-prettier": "^4.0.0",
6761
"eslint-plugin-filenames": "^1.3.2",
6862
"eslint-plugin-import": "^2.25.4",
6963
"eslint-plugin-jest": "^26.1.2",
7064
"eslint-plugin-jsdoc": "^38.0.6",
7165
"eslint-plugin-json": "^3.1.0",
66+
"eslint-plugin-prettier": "^4.0.0",
7267
"eslint-plugin-turbo": "^0.0.7",
7368
"jest": "^29.4.0",
74-
"ts-jest": "^29.0.5",
7569
"prettier": "^2.6.0",
70+
"ts-jest": "^29.0.5",
7671
"typescript": "^4.6.2"
7772
}
7873
}

0 commit comments

Comments
 (0)