Skip to content

test: add an offline end-to-end npm project test (guarded and unguarded fix) - #272

Merged
connabyss merged 1 commit into
connabyss:mainfrom
ZiadtahaM:main
Nov 27, 2026
Merged

connabyss merged 1 commit into
connabyss:mainfrom
ZiadtahaM:main

Conversation

@ZiadtahaM

Copy link
Copy Markdown
Contributor

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 -q on 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.

This test verifies that the tool can distinguish between guarded and unguarded fixes in a JavaScript project managed by npm.
@github-actions

Copy link
Copy Markdown
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.

@connabyss
connabyss merged commit 160d013 into connabyss:main Nov 27, 2026
19 checks passed

Copy link
Copy Markdown
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an offline npm project test: one guarded fix, one unguarded

2 participants