Page MenuHomeWickedGov Phorge

nyc.config.js
No OneTemporary

Size
997 B
Referenced Files
None
Subscribers
None

nyc.config.js

'use strict';
module.exports = {
// todo: enable caching. There are too many other issues to verify that
// caching works correctly.
cache: false,
// todo: check coverage on all files not just those included in tests.
// Enable when
// https://github.com/istanbuljs/nyc/issues/537#issuecomment-390814662
// is fixed.
all: false,
// Ignore files in vendor/, resources/, and elsewhere.
include: [ 'src/**/*.js' ],
// Set the coverage percentage by category thresholds.
statements: 80,
branches: 69,
functions: 80,
lines: 90,
// Fail if the coverage is below threshold.
'check-coverage': true,
// Work around source maps being included
// https://github.com/istanbuljs/nyc/issues/847:
// Error: ENAMETOOLONG: name too long,
// open '.../vagrant/mediawiki/extensions/Popups/src/data:application/json;...'
// Unfortunately, the reported line numbers appear to be
// nondeterministic across runs when all is enabled and incorrect when
// disabled.
sourceMap: false
};

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 19, 05:28 (2 h, 16 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/e8/74a5baa0e55ccda8e0e22a8f43ed
Default Alt Text
nyc.config.js (997 B)

Event Timeline