mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
Notify 473: add code coverage for jest (#488)
This commit is contained in:
@@ -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',
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user