test: setup automated tests with jest

This commit is contained in:
David Laganiere 2023-01-03 19:07:54 -05:00
parent 8785b94392
commit 23be268630
No known key found for this signature in database
GPG key ID: 18C4B80581C28747
4 changed files with 745 additions and 15 deletions

6
frontend/jest.setup.js Normal file
View file

@ -0,0 +1,6 @@
// Optional: configure or set up a testing framework before each test.
// If you delete this file, remove `setupFilesAfterEnv` from `jest.config.js`
// Used for __tests__/testing-library.js
// Learn more: https://github.com/testing-library/jest-dom
import "@testing-library/jest-dom/extend-expect";