Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1432790
jest.config.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
jest.config.js
View Options
'use strict'
;
module
.
exports
=
{
// Automatically clear mock calls and instances between every test
clearMocks
:
true
,
// Indicates whether the coverage information should be collected while executing the test
collectCoverage
:
true
,
// An array of glob patterns indicating a set of files fo
// which coverage information should be collected
collectCoverageFrom
:
[
'tests/jest/*.js'
],
// The directory where Jest should output its coverage files
coverageDirectory
:
'coverage'
,
// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns
:
[
'/node_modules/'
],
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold
:
{
global
:
{
branches
:
31
,
functions
:
39
,
lines
:
38
,
statements
:
38
}
},
// An array of file extensions your modules use
moduleFileExtensions
:
[
'js'
],
// The paths to modules that run some code to configure or
// set up the testing environment before each test
setupFiles
:
[
'./tests/jest/setup.js'
],
// Simulates a real browser environment.
testEnvironment
:
'jsdom'
,
// Ignore these directories when locating tests to run.
testPathIgnorePatterns
:
[
'<rootDir>/node_modules/'
,
'<rootDir>/resources/'
]
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 22:18 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a7/46/98688cdf68d02f0d18156526327e
Default Alt Text
jest.config.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment