Skip to content

Commit f779d85

Browse files
committed
fix(e2e): disable workspace trust
1 parent 5ef2c27 commit f779d85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/models/CodeServer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export class CodeServer {
8181
path.join(dir, "User/settings.json"),
8282
JSON.stringify({
8383
"workbench.startupEditor": "none",
84+
// NOTE@jsjoeio - needed to prevent Trust Policy prompt
85+
// in end-to-end tests.
86+
"security.workspace.trust.enabled": false,
8487
}),
8588
"utf8",
8689
)

0 commit comments

Comments
 (0)