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
![]() |
|||
11 | ); |
||
12 | }); |
||
13 | |||
14 | test('require("winston-array-transport").default notation', function () { |
||
15 | assert.exists( |
||
16 | new m.default() |
||
17 | ); |
||
18 | }); |
||
19 |