Skip to content

chore: remove duplicate npm script and add test:frontend alias - #37

Merged
festivixy merged 1 commit into
mainfrom
festivixy-review-pasted-text
Aug 5, 2026
Merged

festivixy merged 1 commit into
mainfrom
festivixy-review-pasted-text

Conversation

@festivixy

@festivixy festivixy commented Aug 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Removes a duplicate npm script and adds a test alias as part of the cleanup audit work.

Changes

  • Removed duplicate dev:frontend script - was an exact duplicate of the dev script
  • Added test:frontend alias - convenient alias for npm run test for frontend testing

Rationale

During a comprehensive repository audit, this duplicate script was identified as unused dead code. Removing it simplifies the npm scripts configuration while maintaining all necessary functionality. The test:frontend alias provides explicit terminology for frontend test runs.

Validation

✅ npm run lint - passed
✅ npm run test:api - 80 tests passed
✅ npm run build - production build succeeded

Related Work

Part of Phase 2 safe cleanup. Full audit report available in session notes.

Closes #38

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6db82d64-07ad-4544-9e12-50eaa4b82cf6

📥 Commits

Reviewing files that changed from the base of the PR and between 7830692 and 8bea8fc.

📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The package scripts remove dev:frontend and add test:frontend, which runs the frontend tests with react-scripts test. Existing build, test, and eject scripts remain.

Changes

Frontend Testing

Layer / File(s) Summary
Frontend test script update
package.json
The dev:frontend script is replaced with test:frontend using react-scripts test. The build, test, and eject scripts remain.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the addition of a frontend test alias in package.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch festivixy-review-pasted-text

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@festivixy
festivixy merged commit 4629759 into main Aug 5, 2026
6 checks passed
@festivixy festivixy changed the title chore: add frontend test alias chore: remove duplicate npm script and add test:frontend alias Aug 5, 2026
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.

1 participant