Skip to content

Commit aea101f

Browse files
committed
Fix some stuff
1 parent 6ba06e0 commit aea101f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.vscode/launch.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,11 @@
102102
"type": "node",
103103
"request": "launch",
104104
"name": "Attach Web Test",
105-
"program": "${workspaceFolder}/node_modules/vscode-test-web/out/index.js",
105+
"program": "${workspaceFolder}/node_modules/@vscode/test-web/out/server/index.js",
106106
"args": [
107107
"--extensionTestsPath=dist/browser/test/index.js",
108108
"--extensionDevelopmentPath=.",
109109
"--browserType=chromium",
110-
"--attach=9229"
111110
],
112111
"cascadeTerminateToConfigurations": [
113112
"Launch Web Test"

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ async function getExtensionConfig(target, mode, env) {
188188
typescript: {
189189
configFile: path.join(__dirname, target === 'webworker' ? 'tsconfig.browser.json' : 'tsconfig.json'),
190190
},
191-
})
191+
}),
192+
new webpack.ContextReplacementPlugin(/mocha/, /^$/)
192193
];
193194

194195
if (target === 'webworker') {

0 commit comments

Comments
 (0)