Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
nyc /
lib /
commands /
Delete
Unzip
Name
Size
Permission
Date
Action
check-coverage.js
780
B
-rw-r--r--
2023-08-21 05:40
helpers.js
1.71
KB
-rw-r--r--
2023-08-21 05:40
instrument.js
2.07
KB
-rw-r--r--
2023-08-21 05:40
merge.js
1.6
KB
-rw-r--r--
2023-08-21 05:40
report.js
792
B
-rw-r--r--
2023-08-21 05:40
Save
Rename
'use strict' const NYC = require('../../index.js') const { cliWrapper, suppressEPIPE, setupOptions } = require('./helpers.js') exports.command = 'check-coverage' exports.describe = 'check whether coverage is within thresholds provided' exports.builder = function (yargs) { yargs .demandCommand(0, 0) .example('$0 check-coverage --lines 95', "check whether the JSON in nyc's output folder meets the thresholds provided") setupOptions(yargs, 'check-coverage') } exports.handler = cliWrapper(async argv => { process.env.NYC_CWD = process.cwd() const nyc = new NYC(argv) await nyc.checkCoverage({ lines: argv.lines, functions: argv.functions, branches: argv.branches, statements: argv.statements }, argv['per-file']).catch(suppressEPIPE) })