forked from finos/perspective
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.all.config.js
28 lines (28 loc) · 1.15 KB
/
jest.all.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
25
26
27
28
module.exports = {
roots: [
"packages/perspective/test/js",
"packages/perspective-viewer/test/js",
"packages/perspective-viewer-hypergrid/test/js",
"packages/perspective-viewer-highcharts/test/js",
"packages/perspective-viewer-datagrid/test/js",
"packages/perspective-viewer-d3fc/test/js",
"packages/perspective-workspace/test/js",
"packages/perspective-jupyterlab/test/js"
],
verbose: true,
testURL: "http://localhost/",
transform: {
".js$": "@finos/perspective-test/src/js/transform.js",
".html$": "html-loader-jest"
},
collectCoverage: true,
collectCoverageFrom: ["packages/perspective/dist/cjs/**"],
coverageProvider: "v8",
coverageReporters: ["cobertura", "text"],
transformIgnorePatterns: ["/node_modules/(?!lit-html).+$"],
automock: false,
setupFiles: ["@finos/perspective-test/src/js/beforeEachSpec.js"],
reporters: ["default", "@finos/perspective-test/src/js/reporter.js", "jest-junit"],
globalSetup: "@finos/perspective-test/src/js/globalSetup.js",
globalTeardown: "@finos/perspective-test/src/js/globalTeardown.js"
};