Use machine settings for e2e tests
User settings are browser-based so use machine settings instead.
This commit is contained in:
parent
09dd5fe44d
commit
9ba66ec468
@ -77,9 +77,9 @@ export class CodeServer {
|
||||
*/
|
||||
private async createWorkspace(): Promise<string> {
|
||||
const dir = await this.workspaceDir
|
||||
await fs.mkdir(path.join(dir, "User"), { recursive: true })
|
||||
await fs.mkdir(path.join(dir, "Machine"), { recursive: true })
|
||||
await fs.writeFile(
|
||||
path.join(dir, "User/settings.json"),
|
||||
path.join(dir, "Machine/settings.json"),
|
||||
JSON.stringify({
|
||||
"workbench.startupEditor": "none",
|
||||
}),
|
||||
|
Reference in New Issue
Block a user