Skip to content

Commit eac0d1c

Browse files
committed
Remove Vite comment
1 parent fead746 commit eac0d1c

File tree

1 file changed

+2
-4
lines changed
  • packages/vitest-pool-workers/src/pool

1 file changed

+2
-4
lines changed

packages/vitest-pool-workers/src/pool/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ interface SerializedOptions {
8080

8181
// https://github.com/vitest-dev/vitest/blob/v2.1.1/packages/vite-node/src/client.ts#L468
8282
declare const __vite_ssr_import__: unknown;
83-
/*assert(
83+
assert(
8484
typeof __vite_ssr_import__ === "undefined",
8585
"Expected `@cloudflare/vitest-pool-workers` not to be transformed by Vite"
86-
);*/
86+
);
8787

8888
function structuredSerializableStringify(value: unknown): string {
8989
// Vitest v2+ sends a sourcemap to it's runner, which we can't serialise currently
@@ -543,8 +543,6 @@ Workflows defined in project: ${workflowClassNames.join(", ")}`);
543543
};
544544
}
545545

546-
// console.log("Runner Worker", runnerWorker);
547-
548546
// Vite has its own define mechanism, but we can't control it from custom
549547
// pools. Our defines come from `wrangler.toml` files which are only parsed
550548
// with the rest of the pool configuration. Instead, we implement our own

0 commit comments

Comments
 (0)