react-starter-kit/src/setupTests.ts
Mastermindzh 5829588665 Added the possibility to override partial configs during deployments
Added default output to jest (for terminal output...)
Upgraded npm packages. Left jest on 27 because of breaking changes in 28
2022-07-25 10:13:47 +02:00

9 lines
373 B
TypeScript

// 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.defaultConfig = require("./../public/config");
window.configOverride = require("./../public/configOverride");