mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-12 18:47:57 -04:00
Clean
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
run: npm run lint
|
||||
|
||||
- name: Run Jest tests
|
||||
run: npm run test tests/jest
|
||||
run: npm run test
|
||||
|
||||
- name: Build app
|
||||
env:
|
||||
|
||||
@@ -7,6 +7,7 @@ const createJestConfig = nextJest({
|
||||
|
||||
// Add any custom config to be passed to Jest
|
||||
const customJestConfig = {
|
||||
roots: ['<rootDir>/tests/jest'],
|
||||
// Add more setup options before each test is run
|
||||
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
||||
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
|
||||
|
||||
14
jest.setup.d.ts
vendored
14
jest.setup.d.ts
vendored
@@ -1,14 +0,0 @@
|
||||
// // This file extends the global Jest namespace with custom matchers from @testing-library/jest-dom
|
||||
// import '@testing-library/jest-dom';
|
||||
//
|
||||
// declare global {
|
||||
// namespace jest {
|
||||
// interface Matchers<R> {
|
||||
// toBeInTheDocument(): R;
|
||||
// toHaveClass(...classes: string[]): R;
|
||||
// // Add other custom matchers you use from @testing-library/jest-dom
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// export {};
|
||||
Reference in New Issue
Block a user