Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Jest #4

Merged
merged 1 commit into from
May 29, 2022
Merged

Setup Jest #4

merged 1 commit into from
May 29, 2022

Conversation

TheLandolorien
Copy link
Contributor

Configure Jest for testing React components and TypeScript utilities

Changes

  • Install Jest dependencies
  • Add jest.config.js for Jest configuration with React + TypeScript
  • Add fileMock.ts and styleMock.ts to load imports in tests
  • Add setupTests.ts to support DOM simulation in tests
  • Add initial tests for 100% code coverage

Steps:
- Install Jest dependencies
- Add `jest.config.js` for Jest configuration with React + TypeScript
- Add `fileMock.ts` and `styleMock.ts` to load imports in tests
- Add `setupTests.ts` to support DOM simulation in tests
- Add initial tests for 100% code coverage
@TheLandolorien TheLandolorien merged commit ad158a9 into main May 29, 2022
@TheLandolorien TheLandolorien deleted the feat/setup-jest branch May 29, 2022 18:29
TheLandolorien added a commit that referenced this pull request May 29, 2022
Steps:
- Install Jest dependencies
- Add `jest.config.js` for Jest configuration with React + TypeScript
- Add `fileMock.ts` and `styleMock.ts` to load imports in tests
- Add `setupTests.ts` to support DOM simulation in tests
- Add initial tests for 100% code coverage
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