Debian Codegraph @

skins/MinervaNeue/jest.config.js

raw symbols SCIP
1 'use strict';
2
3 // For a detailed explanation regarding each configuration property, visit:
4 // https://jestjs.io/docs/en/configuration.html
5
6 module.exports = {
7 moduleNameMapper: {
8 },
9
10 // Automatically clear mock calls and instances between every test
11 clearMocks: true,
12
13 // Indicates whether the coverage information should be collected while executing the test
14 collectCoverage: true,
15
16 // An array of glob patterns indicating a set of files fo
17 // which coverage information should be collected
18 collectCoverageFrom: [
19 'resources/**/*.(js|vue)'
20 ],
21
22 // The directory where Jest should output its coverage files
23 coverageDirectory: 'coverage',
24
25 // An array of regexp pattern strings used to skip coverage collection
26 coveragePathIgnorePatterns: [
27 '/node_modules/'
28 ],
29
30 // An object that configures minimum threshold enforcement for coverage results
31 coverageThreshold: {
32 global: {
33 branches: 0,
34 functions: 0,
35 lines: 0,
36 statements: 0
37 }
38 },
39
40 // An array of file extensions your modules use
41 moduleFileExtensions: [
42 'js',
43 'json',
44 'vue'
45 ],
46
47 modulePathIgnorePatterns: [
48 '<rootDir>/tests/qunit/'
49 ],
50
51 // The paths to modules that run some code to configure or
52 // set up the testing environment before each test
53 setupFiles: [
54 './jest.setup.js'
55 ],
56
57 testEnvironment: 'jsdom',
58
59 transform: {
60 }
61 };