Issues (9)

tests/package/es6.test.js (1 issue)

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