Compare commits

...

2 Commits

Author SHA1 Message Date
Meghan Denny
99f295e355 grabbed isWindows from the wrong spot 2024-10-17 16:01:26 -07:00
Meghan Denny
35959c1ae6 ci: disable case in test\cli\watch\watch.test.ts on windows 2024-10-17 15:03:19 -07:00

View File

@@ -1,14 +1,15 @@
import type { Subprocess } from "bun";
import { spawn } from "bun";
import { afterEach, expect, it } from "bun:test";
import { bunEnv, bunExe, tmpdirSync } from "harness";
import { bunEnv, bunExe, isCI, isWindows, tmpdirSync } from "harness";
import { rmSync } from "node:fs";
import { join } from "node:path";
let watchee: Subprocess;
for (const dir of ["dir", "©️"]) {
it(`should watch files ${dir === "dir" ? "" : "(non-ascii path)"}`, async () => {
// prettier-ignore
it.todoIf(isWindows && isCI)(`should watch files ${dir === "dir" ? "" : "(non-ascii path)"}`, async () => {
const cwd = join(tmpdirSync(), dir);
const path = join(cwd, "watchee.js");