Archived
1
0

Use machine settings for e2e tests

User settings are browser-based so use machine settings instead.
This commit is contained in:
Asher 2023-11-20 15:42:34 -09:00
parent 09dd5fe44d
commit 9ba66ec468
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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",
}),