From 82eea7afd25f6638000b93f52d951db37353a1e2 Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Thu, 14 Dec 2023 16:54:38 +0700 Subject: [PATCH] Sped up unit tests by only transpiling --- ghost/ghost/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/ghost/package.json b/ghost/ghost/package.json index 4b5604b1d3..5c1c4ed26a 100644 --- a/ghost/ghost/package.json +++ b/ghost/ghost/package.json @@ -10,7 +10,7 @@ "dev": "tsc --watch --preserveWatchOutput --sourceMap", "build": "tsc", "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:types": "tsc --noEmit", "lint:code": "eslint src/ --ext .ts --cache",