From 43964f950c7b2e61fba74d85f87f5347bccc9ec9 Mon Sep 17 00:00:00 2001 From: Orchard Date: Thu, 5 Oct 2023 09:35:05 +0800 Subject: [PATCH] test: compile all files --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a370935..f628b73 100644 --- a/package.json +++ b/package.json @@ -76,8 +76,8 @@ "pretest": "npm run test-compile && npm run lint", "lint": "eslint src --ext ts", "lint-staged": "lint-staged", - "test-compile": "rimraf ./out-test && esbuild ./src/test/**/*.ts --outdir=out-test --resolve-extensions=.ts,.js --format=cjs --platform=node", - "test": "node ./out-test/runTest.js", + "test-compile": "rimraf ./out-test && esbuild ./src/**/*.ts --bundle --outdir=out-test --external:vscode --format=cjs --platform=node", + "test": "node ./out-test/test/runTest.js", "prepare": "husky install" }, "devDependencies": {