Skip to content

[BUG] The project currently lacks a testing framework #255

@udaykiran243

Description

@udaykiran243

Describe the bug

The project currently lacks a testing framework. Adding one is crucial for preventing regressions and ensuring component reliability as the project grows.

Steps to reproduce

Since this is a Vite project, setting up **Vitest** is recommended over Jest for better compatibility and speed.

Expected behavior

  • Install vitest, jsdom, and @testing-library/react.
  • Add a test script to package.json.
  • Create a sample test for a simple component (e.g., LoadingSpinner.jsx or Footer.jsx) to verify the setup.
  • Document how to run tests in README.md.

Affected component

Frontend (React/Vue)

Metadata

Metadata

Assignees

Labels

apertre3.0Apertre ContributorbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions