Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 21 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 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 | })); |