mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-05 03:18:05 +08:00
Add working Jest & TypeScript config
- Jest now uses ts-jest for transforms - TypeScript compilation via `lerna run tsc`
This commit is contained in:
15
package.json
15
package.json
@@ -4,18 +4,13 @@
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"jest": {
|
||||
"clearMocks": true,
|
||||
"roots": [
|
||||
"<rootDir>/packages"
|
||||
],
|
||||
"testEnvironment": "node",
|
||||
"testRunner": "jest-circus/runner",
|
||||
"verbose": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^24.0.11",
|
||||
"@types/node": "^11.13.5",
|
||||
"jest": "^24.7.1",
|
||||
"jest-circus": "^24.7.1",
|
||||
"lerna": "^3.13.3"
|
||||
"lerna": "^3.13.3",
|
||||
"ts-jest": "^24.0.2",
|
||||
"typescript": "^3.4.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user