Repository navigation
test: add an offline end-to-end npm project test (guarded and unguarded fix) - #272
Merged
Merged
Conversation
This test verifies that the tool can distinguish between guarded and unguarded fixes in a JavaScript project managed by npm.
Contributor
|
Hi @ZiadtahaM, thanks for your first pull request to Bite! 🎉 CI runs the tests on Linux, Windows and macOS, and if anything goes red, the log says why. I'll review it soon. The contributing guide has the short checklist, and Discussions is open for any questions. This hello is automatic. A real reply from me is on its way. |
Owner
|
Merged, thanks @ZiadtahaM! This is exactly what #264 needed. Bite finally gets checked end to end on a JavaScript project, not just Python. Nice touch keeping it zero-install with node --test. Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #264.
Adds
tests/test_npm_project.py: one offline test that builds a tiny npm project with two "fix" commits, one guarded by a test and one unguarded, and runs the whole free check on it end to end.What I ran:
python -m pytest tests/test_npm_project.py -qon a fresh clone of main -> 1 passed. I did not run the full test suite.Assisted-by: AI coding assistant, run and reviewed by me.