Skip to content

feat(cli): fix custom data and tests #50

feat(cli): fix custom data and tests

feat(cli): fix custom data and tests #50

Triggered via pull request July 21, 2024 14:48
@gmickelgmickel
synchronize #14
apend-prompt
Status Failure
Total duration 1m 41s
Billable time 6m
Artifacts

ci.yml

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

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.