Commented out test failure/add jest config

This commit is contained in:
Andrew Shumway
2023-05-01 09:32:56 -06:00
parent 643d830f06
commit a91ba71085
2 changed files with 12 additions and 2 deletions

View File

@@ -1,7 +1,17 @@
module.exports = {
collectCoverage: true,
coverageDirectory: './coverage',
coverageThreshold: {
global: {
branches: 75,
functions: 90,
lines: 90,
statements: 90,
}
},
setupFiles: ['./support/setup.js'],
testEnvironment: 'jsdom',
testEnvironmentOptions: {
url: 'https://www.notifications.service.gov.uk',
},
}
};