forked from microsoft/vscode-powerquery-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vscode-test.mjs
More file actions
29 lines (28 loc) · 1.03 KB
/
.vscode-test.mjs
File metadata and controls
29 lines (28 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { defineConfig } from "@vscode/test-cli";
export default defineConfig({
files: "out/src/test/suite/**/*.test.js",
workspaceFolder: "./out/test/testFixture",
extensionDevelopmentPath: "./",
installExtensions: ["PowerQuery.vscode-powerquery"],
useInstallation: {
fromMachine: false, // Don't use extensions from the machine - creates clean environment
},
launchArgs: [
// Enable only the specific extensions we need for testing
"--enable-proposed-api=PowerQuery.vscode-powerquery-sdk",
"--enable-proposed-api=PowerQuery.vscode-powerquery",
// Disable some common extensions that might interfere with tests
"--disable-extension=ms-python.python",
"--disable-extension=ms-python.vscode-pylance",
"--disable-extension=ms-vsliveshare.vsliveshare",
"--disable-extension=github.copilot",
"--disable-extension=github.copilot-chat",
],
env: {
NODE_ENV: "test",
},
mocha: {
timeout: 20000,
retries: 1,
},
});