Skip to content

Commit 3343404

Browse files
committed
test(workflow): normalize persisted paths on windows
1 parent a8b8e5a commit 3343404

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/workflow-files.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { hashSource } from "./workflow-script.js";
3232
source: "export const meta = { name: 'x', description: 'd' }\nreturn 1\n",
3333
preferredName: "demo",
3434
});
35-
assert.match(path, /workflow-scripts\/wfr_test\/demo\.js$/);
35+
assert.match(path.replaceAll("\\", "/"), /workflow-scripts\/wfr_test\/demo\.js$/);
3636

3737
const file = await resolveWorkflowScriptFromPathOrName({
3838
file: path,

0 commit comments

Comments
 (0)