generated from vidhill/fortawesome-brands-svg-11ty-shortcode
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jest.config.js
20 lines (15 loc) · 770 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
// Indicates whether the coverage information should be collected while executing the test
collectCoverage: true,
// The directory where Jest should output its coverage files
coverageDirectory: '../coverage',
// Indicates which provider should be used to instrument code for coverage
coverageProvider: 'babel',
// The root directory that Jest should scan for tests and modules within
rootDir: 'src',
// A list of paths to modules that run some code to configure or set up the testing framework before each test
setupFilesAfterEnv: ['../jest-config/index.js'],
// "<rootDir>/src/setupTests.jsx",
// The test environment that will be used for testing
testEnvironment: 'jest-environment-node',
};