From e009d5f14c81bd8b89da288f1d43adfe1e1af544 Mon Sep 17 00:00:00 2001 From: Chris Estreich Date: Fri, 28 Feb 2025 21:40:47 -0800 Subject: [PATCH] Fix e2e test paths --- e2e/.vscode-test.mjs | 2 +- e2e/package.json | 2 +- e2e/src/runTest.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/.vscode-test.mjs b/e2e/.vscode-test.mjs index 16ea4271ba..ccc8b495ea 100644 --- a/e2e/.vscode-test.mjs +++ b/e2e/.vscode-test.mjs @@ -6,7 +6,7 @@ import { defineConfig } from '@vscode/test-cli'; export default defineConfig({ label: 'integrationTest', - files: 'out/e2e/src/suite/**/*.test.js', + files: 'out/suite/**/*.test.js', workspaceFolder: '.', mocha: { ui: 'tdd', diff --git a/e2e/package.json b/e2e/package.json index 7e0daac064..630a13f0e7 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -7,7 +7,7 @@ "compile": "tsc -p tsconfig.json", "lint": "eslint src --ext ts", "check-types": "tsc --noEmit", - "test": "npm run compile && npx dotenvx run -f .env.integration -- node ./out/e2e/src/runTest.js", + "test": "npm run compile && npx dotenvx run -f .env.integration -- node ./out/runTest.js", "ci": "npm run build && npm run test" }, "dependencies": {}, diff --git a/e2e/src/runTest.ts b/e2e/src/runTest.ts index 28545efd46..2576c6072f 100644 --- a/e2e/src/runTest.ts +++ b/e2e/src/runTest.ts @@ -6,7 +6,7 @@ async function main() { try { // The folder containing the Extension Manifest package.json // Passed to `--extensionDevelopmentPath` - const extensionDevelopmentPath = path.resolve(__dirname, "../../../../") + const extensionDevelopmentPath = path.resolve(__dirname, "../../") // The path to the extension test script // Passed to --extensionTestsPath