-
Notifications
You must be signed in to change notification settings - Fork 1
fix: resolve 14 test failures, add coverage tooling, and align docs with codebase #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| #!/usr/bin/env sh | ||
| set -e | ||
| npm run prompts:check | ||
| npm test --prefix shadow-agent | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because this hook script does not enable Useful? React with 👍 / 👎.
coderabbitai[bot] marked this conversation as resolved.
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,3 +2,4 @@ dist/ | |
| dist-electron/ | ||
| node_modules/ | ||
|
|
||
| coverage/ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hook now runs multiple commands, but the script doesn’t
set -eor chain with&&. Ifnpm run prompts:checkfails butnpm testpasses, the hook may exit 0 (since the last command succeeds), allowing commits that break prompt parity. Addset -eat the top (or chain commands with&&) so any failure blocks the commit.