Skip to content

chore: update CLI to use commander for argument parsing and enhance d… #25

chore: update CLI to use commander for argument parsing and enhance d…

chore: update CLI to use commander for argument parsing and enhance d… #25

Triggered via push May 8, 2025 08:55
Status Failure
Total duration 1m 12s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/index.test.ts > Windsurf-to-Cursor Converter > convertFile() > should convert a single Windsurf file to Cursor format: test/index.test.ts#L37
AssertionError: expected '---\nalwaysApply: false\n---\nThis is…' to deeply equal '---\r\nalwaysApply: false\r\n---\r\nT…' - Expected + Received - --- + --- - alwaysApply: false + alwaysApply: false - --- + --- This is the Markdown content for a **manual** rule. It has no globs and no description, and alwaysApply is false. ❯ test/index.test.ts:37:33
test/index.test.ts > Windsurf-to-Cursor Converter > convertFile() > should create the output directory if it does not exist: test/index.test.ts#L60
AssertionError: expected '---\nalwaysApply: false\n---\nThis is…' to deeply equal '---\r\nalwaysApply: false\r\n---\r\nT…' - Expected + Received - --- + --- - alwaysApply: false + alwaysApply: false - --- + --- This is the Markdown content for a **manual** rule. It has no globs and no description, and alwaysApply is false. ❯ test/index.test.ts:60:33
test/index.test.ts > Windsurf-to-Cursor Converter > convertFile() > should overwrite an existing output file: test/index.test.ts#L69
AssertionError: expected '---\nalwaysApply: false\n---\nThis is…' to deeply equal '---\r\nalwaysApply: false\r\n---\r\nT…' - Expected + Received - --- + --- - alwaysApply: false + alwaysApply: false - --- + --- This is the Markdown content for a **manual** rule. It has no globs and no description, and alwaysApply is false. ❯ test/index.test.ts:69:33
test/index.test.ts > Windsurf-to-Cursor Converter > convertDirectory() > should convert all .md files in a directory to .mdc in the output directory: test/index.test.ts#L111
Error: ENOENT: no such file or directory, open 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\output-dir\manual-windsurf.mdc' ❯ test/index.test.ts:111:38 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\output-dir\manual-windsurf.mdc' }
test/index.test.ts > Windsurf-to-Cursor Converter > convertDirectory() > should create the output directory if it does not exist: test/index.test.ts#L159
Error: ENOENT: no such file or directory, open 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\output-dir\manual-windsurf.mdc' ❯ test/index.test.ts:159:38 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\output-dir\manual-windsurf.mdc' }
test/index.test.ts > CLI (cuws) > file conversion via CLI > should convert a single file using -i and -o options: test/index.test.ts#L279
AssertionError: expected '---\nalwaysApply: false\n---\nThis is…' to deeply equal '---\r\nalwaysApply: false\r\n---\r\nT…' - Expected + Received - --- + --- - alwaysApply: false + alwaysApply: false - --- + --- This is the Markdown content for a **manual** rule. It has no globs and no description, and alwaysApply is false. ❯ test/index.test.ts:279:29
test/index.test.ts > CLI (cuws) > file conversion via CLI > should create output directory for file if it does not exist: test/index.test.ts#L309
AssertionError: expected '---\nalwaysApply: false\n---\nThis is…' to deeply equal '---\r\nalwaysApply: false\r\n---\r\nT…' - Expected + Received - --- + --- - alwaysApply: false + alwaysApply: false - --- + --- This is the Markdown content for a **manual** rule. It has no globs and no description, and alwaysApply is false. ❯ test/index.test.ts:309:29
test/index.test.ts > CLI (cuws) > directory conversion via CLI > should convert all .md files in a directory using -d and -o options: test/index.test.ts#L353
Error: ENOENT: no such file or directory, open 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\cli-output-dir-target\manual.mdc' ❯ test/index.test.ts:353:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\cli-output-dir-target\manual.mdc' }
test/index.test.ts > CLI (cuws) > directory conversion via CLI > should create output directory for directory conversion if it does not exist: test/index.test.ts#L415
Error: ENOENT: no such file or directory, open 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\cli-output-dir-target\manual.mdc' ❯ test/index.test.ts:415:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\a\cursor-windsurf-convert\cursor-windsurf-convert\test\temp-test-output\cli-output-dir-target\manual.mdc' }
test/index.test.ts > CLI (cuws) > Streaming via CLI > should convert stdin to stdout: test/index.test.ts#L534
AssertionError: expected '"---' to deeply equal '---\r\nalwaysApply: false\r\n---\r\nT…' - Expected + Received - --- - alwaysApply: false - --- - This is the Markdown content for a **manual** rule. - It has no globs and no description, and alwaysApply is false. + "--- ❯ test/index.test.ts:534:29