mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-09-21 07:39:32 +02:00
- Updated to React 18
- Updated for public release - Git was reset for privacy reasons
This commit is contained in:
7
src/setupTests.ts
Normal file
7
src/setupTests.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
||||
// allows you to do things like:
|
||||
// expect(element).toHaveTextContent(/react/i)
|
||||
// learn more: https://github.com/testing-library/jest-dom
|
||||
import "@testing-library/jest-dom/extend-expect";
|
||||
|
||||
(window as any).config = require("./../public/config");
|
Reference in New Issue
Block a user