Skip to content

Conversation

@TheDanniCraft
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings September 9, 2025 13:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR sets up a comprehensive unit testing framework for the project using Jest with separate configurations for DOM and Node.js environments. The testing infrastructure includes coverage reporting, watch mode, and CI integration.

  • Adds Jest testing framework with TypeScript support and testing libraries
  • Creates separate Jest configurations for DOM (React components) and Node.js (server-side code) testing
  • Integrates test execution into the CI workflow

Reviewed Changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Adds Jest and testing library dependencies, plus test scripts for different environments
jest.config.ts Main Jest configuration that orchestrates DOM and Node test projects
jest.dom.config.ts Jest configuration for DOM/React component testing with jsdom environment
jest.node.config.ts Jest configuration for Node.js/server-side testing
jest.dom.setup.ts Setup file for DOM tests with jest-dom matchers
jest.node.setup.ts Setup file for Node.js tests (currently empty)
.github/workflows/ci.yml Updates CI workflow to run tests instead of placeholder

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@TheDanniCraft TheDanniCraft marked this pull request as draft September 12, 2025 12:20
@TheDanniCraft
Copy link
Owner Author

Moving to backlog for now, will focus on bugfixing for v1 release

Base automatically changed from prepare-v1-release to master December 8, 2025 11:43
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