diff options
author | 2020-10-12 18:01:50 +0100 | |
---|---|---|
committer | 2020-10-12 18:01:50 +0100 | |
commit | 24d2daa318c412ffb0ec7c67328bd3fb5d6afe30 (patch) | |
tree | 91b9ac7c643b5698ad0b75ddfac8524545658e5d /jest.config.js | |
parent | Merge pull request #24 from python-discord/sentry/remove-tracing (diff) | |
parent | Use location instead of document.location in callback (diff) |
Merge pull request #25 from python-discord/tests/increase-coverage
Increase test coverage
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js index 165e711..a126998 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,4 +3,11 @@ module.exports = { '^.+\\.(t|j)sx?$': ['@swc/jest'], '^.+\\.svg$': ['jest-svg-transformer'] }, + collectCoverageFrom: [ + "src/**/*.{js,jsx,ts,tsx}", + "!**/node_modules/**", + ], + collectCoverage: true, + coverageProvider: "v8", + setupFilesAfterEnv: ["./src/setupTests.ts"] } |