mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Sped up unit tests by only transpiling
This commit is contained in:
parent
8e7757751f
commit
82eea7afd2
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"build:ts": "yarn build",
|
"build:ts": "yarn build",
|
||||||
"test:unit": "NODE_ENV=testing c8 --src src --all --reporter text --reporter cobertura mocha -r ts-node/register './**/*.test.ts'",
|
"test:unit": "NODE_ENV=testing c8 --src src --all --reporter text --reporter cobertura mocha -r ts-node/register/transpile-only './**/*.test.ts'",
|
||||||
"test": "yarn test:types && yarn test:unit",
|
"test": "yarn test:types && yarn test:unit",
|
||||||
"test:types": "tsc --noEmit",
|
"test:types": "tsc --noEmit",
|
||||||
"lint:code": "eslint src/ --ext .ts --cache",
|
"lint:code": "eslint src/ --ext .ts --cache",
|
||||||
|
|
Loading…
Add table
Reference in a new issue