Skip to content

Enable CI checks: wire up tests and fix security vulnerabilities#23

Draft
Copilot wants to merge 2 commits intobigtreefrom
copilot/run-checks
Draft

Enable CI checks: wire up tests and fix security vulnerabilities#23
Copilot wants to merge 2 commits intobigtreefrom
copilot/run-checks

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 5, 2026

CI workflow was configured but test script was a no-op placeholder. Tests existed but had broken imports.

Changes

  • package.json: Wire test script to actual unit tests (test-device-status-transitions.js)
  • Test imports: Remove obsolete node-fetch dependency (built-in since Node 18), fix module paths (../../lib/ vs ../lib/)
  • Security: Apply npm audit fix for 2 high-severity vulnerabilities (fast-xml-parser, qs)
  • gitignore: Exclude test-generated data directories

Before:

"test": "echo No-tests-specified"

After:

"test": "node tests/unit/test-device-status-transitions.js"

CI checks now execute properly: npm cinpm testnpm audit

Original prompt

run checks


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
.git Error Error Feb 5, 2026 3:45am
dashboard Error Error Feb 5, 2026 3:45am
networkbuster-net Ready Ready Preview, Comment Feb 5, 2026 3:45am
networkbuster.net Ready Ready Preview, Comment Feb 5, 2026 3:45am

Request Review

… vulnerabilities

Co-authored-by: Cleanskiier27 <220620570+Cleanskiier27@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@Cleanskiier27 Cleanskiier27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tell .e ehits over

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.

2 participants