From f05d1c6a09e5332bc9b6471588b2b7e2ca617733 Mon Sep 17 00:00:00 2001 From: Ben Kennedy Date: Thu, 5 Dec 2024 10:15:26 +0000 Subject: [PATCH] ci: changed the mocha tests to fully use tsx (#65) --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6a120cad..ed23abbf 100644 --- a/package.json +++ b/package.json @@ -63,9 +63,9 @@ "pretest": "tsc -p tsconfig.test.json", "pretest:build": "tsc -p tsconfig.test.json", "pretest:connect": "tsc -p tsconfig.test.json", - "test": "mocha --require ts-node/register test/**/*.test.ts -g fetchIcons -i --file ./test/setup.ts --timeout 100000", - "test:build": "mocha --require ts-node/register test/**/*.test.ts -g fetchIcons --timeout 100000", - "test:connect": "mocha --require ts-node/register test/code-connect/**/*.test.ts --timeout 100000", + "test": "mocha test/**/*.test.ts -g fetchIcons -i --file ./test/setup.ts --timeout 100000", + "test:build": "mocha test/**/*.test.ts -g fetchIcons --timeout 100000", + "test:connect": "mocha test/code-connect/**/*.test.ts --timeout 100000", "build": "npx tsc -p tsconfig.build.json", "build:fetch-icons": "npx tsc -p tsconfig.scripts.json", "fetch-icons": "npm run build:fetch-icons && node --env-file=.env ./.github/fetch_icons/index.js",