Skip to content

test: add unit tests for Notification model#3549

Open
boss477 wants to merge 1 commit into
JhaSourav07:mainfrom
boss477:fix/issue-3458
Open

test: add unit tests for Notification model#3549
boss477 wants to merge 1 commit into
JhaSourav07:mainfrom
boss477:fix/issue-3458

Conversation

@boss477
Copy link
Copy Markdown
Contributor

@boss477 boss477 commented Jun 3, 2026

Description

This PR implements unit tests for the Notification mongoose schema, verifying compile validity, path definitions, required and unique properties, enum values, default booleans, and timestamp declarations.

Fixes #3458

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

N/A (Utility/Unit Tests only)

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally.
  • I have run npm run format and npm run lint locally and resolved all errors.
  • My commits follow the Conventional Commits format.
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard.
  • (Recommended) I joined the CommitPulse Discord community.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 3, 2026

@boss477 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

test: add unit tests for Notification model

1 participant