forked from AaronWatters/hello_jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.config.js
24 lines (19 loc) · 699 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// jest.config.js
module.exports = {
verbose: true,
preset: "jest-puppeteer",
// this is needed by the unit tests for some reason.
testURL: "http://localhost:8000/",
"setupFiles": [
"./jest/globals.js"
],
// where to put the code coverage reports.
"coverageDirectory": "./tests/coverage",
"coveragePathIgnorePatterns": [
"./jest",
],
// A path to a module which exports an async function that is triggered once before all test suites
"globalSetup": "./jest/globalSetup.js",
// A path to a module which exports an async function that is triggered once after all test suites
"globalTeardown": "./jest/globalTeardown.js",
};