Migrated VisitsTable test to react-testing-library, and removed latest references to enzyme

This commit is contained in:
Alejandro Celaya
2022-07-17 11:50:26 +02:00
parent 1ffd71e81f
commit 72399e7ccd
10 changed files with 87 additions and 951 deletions

View File

@@ -15,7 +15,6 @@ module.exports = {
lines: 90,
},
},
setupFiles: ['<rootDir>/config/jest/setupBeforeEnzyme.js', '<rootDir>/config/jest/setupEnzyme.js'],
setupFilesAfterEnv: ['<rootDir>/config/jest/setupTests.ts'],
testMatch: ['<rootDir>/test/**/*.test.{ts,tsx}'],
testEnvironment: 'jsdom',