Skip to content

Commit 62d0d31

Browse files
skip Workers tests on Windows
1 parent a75de0f commit 62d0d31

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/create-cloudflare/e2e/tests/workers/workers.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import { join } from "path";
33
import { readJSON, readToml } from "helpers/files";
44
import { beforeAll, describe, expect } from "vitest";
55
import { deleteWorker } from "../../../scripts/common";
6-
import { TEST_TIMEOUT, workerTemplateToTest } from "../../helpers/constants";
6+
import {
7+
isWindows,
8+
TEST_TIMEOUT,
9+
workerTemplateToTest,
10+
} from "../../helpers/constants";
711
import { debuglog } from "../../helpers/debuglog";
812
import { test } from "../../helpers/index";
913
import { recreateLogFolder } from "../../helpers/log-stream";
@@ -18,10 +22,7 @@ import { getWorkerTests } from "./test-config";
1822
const workerTests = getWorkerTests();
1923

2024
describe
21-
.skipIf(
22-
workerTests.length === 0,
23-
// TODO: is this skip necessary?: isWindows
24-
)
25+
.skipIf(workerTests.length === 0 || isWindows)
2526
.concurrent(`E2E: Workers templates`, () => {
2627
beforeAll((ctx) => {
2728
recreateLogFolder(ctx);

0 commit comments

Comments
 (0)