spec/helpers/reporter.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 21
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
wmc 0
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 21
rs 10
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
1
// spec/helpers/reporter.js
2
"use strict";
3
4
// :: DEPENDENCIES
5
6
// load non-native dependencies
7
const jasmineReporter = require("jasmine-spec-reporter");
8
9
// :: SETUP
10
11
// get the SpecReporter class
12
const SpecReporter = jasmineReporter.SpecReporter;
13
14
// remove all default reporters
15
jasmine.getEnv().clearReporters();
16
17
// add a the new reporter
18
jasmine.getEnv().addReporter(new SpecReporter({
19
    "spec": {
20
        "displayPending": true
21
    }
22
}));