Skip to content

Commit

Permalink
Merge pull request #754 from btea/task/0-update-ts-jest-config
Browse files Browse the repository at this point in the history
#0@trivial: Update ts-jest config remove warn.
  • Loading branch information
capricorn86 committed Feb 16, 2023
2 parents 75d4cb8 + bef7c2c commit ce30931
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions packages/happy-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,20 @@
},
"jest": {
"transform": {
"^.+\\.ts?$": "ts-jest"
"^.+\\.ts?$": ["ts-jest", { "tsconfig": "./test/tsconfig.json" }]
},
"testMatch": [
"**/test/**/*.test.ts"
],
"globals": {
"ts-jest": {
"tsconfig": "./test/tsconfig.json"
}
},
"testEnvironment": "node"
},
"dependencies": {
"css.escape": "^1.5.1",
"he": "^1.2.0",
"node-fetch": "^2.x.x",
"whatwg-encoding": "^2.0.0",
"whatwg-mimetype": "^3.0.0",
"webidl-conversions": "^7.0.0",
"css.escape": "^1.5.1"
"whatwg-encoding": "^2.0.0",
"whatwg-mimetype": "^3.0.0"
},
"devDependencies": {
"@types/he": "^1.1.2",
Expand All @@ -63,16 +58,16 @@
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.2",
"eslint-plugin-jsdoc": "^38.0.6",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-turbo": "^0.0.7",
"jest": "^29.4.0",
"ts-jest": "^29.0.5",
"prettier": "^2.6.0",
"ts-jest": "^29.0.5",
"typescript": "^4.6.2"
}
}

0 comments on commit ce30931

Please sign in to comment.