Setup file
Also written: setupFiles, test/setup.js
A file that runs before each test file, such as `test/setup.js`. It holds shared test configuration, such as cleaning up after each test and adding jest-dom matchers.
Also written: setupFiles, test/setup.js
A file that runs before each test file, such as `test/setup.js`. It holds shared test configuration, such as cleaning up after each test and adding jest-dom matchers.