Skip to content

feat: add jest tests and codecov integration - #1

Merged
JinxiangChen22 merged 1 commit into
mainfrom
add-test-coverage
Apr 30, 2026
Merged

feat: add jest tests and codecov integration#1
JinxiangChen22 merged 1 commit into
mainfrom
add-test-coverage

Conversation

@JinxiangChen22

Copy link
Copy Markdown
Owner

What did I change?

  • Added Jest + Supertest for unit testing
  • Added GitHub Actions CI workflow (.github/workflows/ci.yml)
  • Configured Codecov integration for coverage reporting

Why did I change it?

  • Baseline Standard 2 requires ≥ 80% test coverage with Codecov

What code changed?

  • package.json: test script → jest --coverage, added supertest
  • src/app.js: added module.exports = app for testability
  • tests/app.test.js: 4 route tests (GET /, /signup, /dashboard, 404)
  • .github/workflows/ci.yml: CI pipeline with Codecov upload

@vercel

vercel Bot commented Apr 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
taskify Ready Ready Preview, Comment Apr 30, 2026 3:18am

@codecov

codecov Bot commented Apr 30, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@JinxiangChen22
JinxiangChen22 merged commit 410a949 into main Apr 30, 2026
4 checks passed
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