Skip to content

Commit 9e0d33d

Browse files
committed
dont add setting programmatically for smoke test
1 parent d4b0227 commit 9e0d33d

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/test/standardTest.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,6 @@ const extensionDevelopmentPath = process.env.CODE_EXTENSIONS_PATH
2929
? process.env.CODE_EXTENSIONS_PATH
3030
: EXTENSION_ROOT_DIR_FOR_TESTS;
3131

32-
// Make sure shell used are pwsh for smoke tests
33-
// create .vscode folder inside workspacePath and settings.json inside that .vscode path
34-
async function setupWorkspace() {
35-
await fs.ensureDir(path.join(workspacePath, '.vscode'));
36-
const settingsPath = path.join(workspacePath, '.vscode', 'settings.json');
37-
if (!(await fs.pathExists(settingsPath))) {
38-
await fs.writeFile(
39-
settingsPath,
40-
`{
41-
"terminal.integrated.defaultProfile.linux": "pwsh",
42-
"terminal.integrated.defaultProfile.osx": "pwsh",
43-
"terminal.integrated.defaultProfile.windows": "pwsh"
44-
}`,
45-
);
46-
}
47-
}
48-
if (process.env.TEST_FILES_SUFFIX !== 'smoke.test') {
49-
setupWorkspace().catch((err) => {
50-
console.error('Failed to setup workspace for smoke test', err);
51-
process.exit(1);
52-
});
53-
}
54-
5532
/**
5633
* Smoke tests & tests running in VSCode require Jupyter extension to be installed.
5734
*/

0 commit comments

Comments
 (0)