mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
Run Jest tests in a multi-project runner instead of in separate runners
This commit is contained in:
parent
d43ea3a603
commit
dd4970f1f4
1 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
"pretest": "npm run compile",
|
||||
"test": "npm run testonly",
|
||||
"posttest": "npm run lint",
|
||||
"testonly": "lerna run test",
|
||||
"testonly": "jest --verbose",
|
||||
"coverage": "lerna run coverage",
|
||||
"circle": "lerna run coverage && lerna run circle",
|
||||
"release": "lerna publish --exact",
|
||||
|
@ -48,5 +48,10 @@
|
|||
"supertest": "3.1.0",
|
||||
"ts-jest": "23.1.3",
|
||||
"typescript": "2.9.2"
|
||||
},
|
||||
"jest": {
|
||||
"projects": [
|
||||
"<rootDir>/packages/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue