Test Failed
Push — master ( 176a81...adcdcd )
by Dmytro
01:59 queued 11s
created

tests/package/es6.test.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 18
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 10
mnd 0
bc 0
fnc 2
dl 0
loc 18
rs 10
bpm 0
cpm 1
noi 1
c 0
b 0
f 0
1
import { assert } from 'chai';
2
import { entry } from '../constants';
3
4
const m = require(entry);
5
6
suite('ES6 default export');
7
8
test('require("winston-array-transport") notation', function () {
9
    assert.exists(
10
        new m()
0 ignored issues
show
Coding Style Best Practice introduced by
By convention, constructors like m should be capitalized.
Loading history...
11
    );
12
});
13
14
test('require("winston-array-transport").default notation', function () {
15
    assert.exists(
16
        new m.default()
17
    );
18
});
19