Compare commits

...

1 Commits

Author SHA1 Message Date
Meghan Denny
8ea97b83f0 ci: disable one case in test\cli\hot\watch.test.ts on windows 2024-10-17 15:00:25 -07:00

View File

@@ -1,12 +1,12 @@
import { spawn } from "bun";
import { describe, expect, test } from "bun:test";
import { bunEnv, bunExe, forEachLine, tempDirWithFiles } from "harness";
import { bunEnv, bunExe, forEachLine, isCI, isWindows, tempDirWithFiles } from "harness";
import { writeFile } from "node:fs/promises";
import { join } from "node:path";
describe("--watch works", async () => {
for (const watchedFile of ["entry.js", "tmp.js"]) {
test(`with ${watchedFile}`, async () => {
test.todoIf(watchedFile === "tmp.js" && isWindows && isCI)(`with ${watchedFile}`, async () => {
const tmpdir_ = tempDirWithFiles("watch-fixture", {
"tmp.js": "console.log('hello #1')",
"entry.js": "import './tmp.js'",