Skip to content

Commit 3d31c81

Browse files
committed
fix: skip test slow in state test
1 parent c3d3e26 commit 3d31c81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/codeServer.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ describe("code-server", [], {}, () => {
7070
test("should migrate state to avoid collisions", async ({ codeServerPage }) => {
7171
// This can take a very long time in development because of how long pages
7272
// take to load and we are doing a lot of that here.
73-
test.slow()
73+
if (process.env.VSCODE_DEV === "1") {
74+
test.slow()
75+
}
7476

7577
const dir = await codeServerPage.workspaceDir
7678
const files = [path.join(dir, "foo"), path.join(dir, "bar")]

0 commit comments

Comments
 (0)