feat(cli): fix custom data and tests #50
ci.yml
on: pull_request
lint
15s
typecheck
17s
Matrix: test
Annotations
2 errors
tests/e2e/cli-commands.test.ts > CLI Commands > should generate markdown with custom data and prompt:
tests/e2e/cli-commands.test.ts#L184
Error: Command failed: pnpm exec esno D:\a\CodeWhisper\CodeWhisper\cli.js generate -p "D:\a\CodeWhisper\CodeWhisper\tests\fixtures\test-project" -o "D:\a\CodeWhisper\CodeWhisper\tests\fixtures\test-project\output.md" --custom-template "D:/a/CodeWhisper/CodeWhisper/tests/fixtures/generate-readme.hbs" --custom-data '{"projectName":"My Awesome Project","projectDescription":"A fantastic tool for developers"}' --prompt "Please review this code and provide feedback."
❯ tests/e2e/cli-commands.test.ts:184:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, null, null ], pid: 4968, stdout: null, stderr: null }
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|