1 | import { assert } from 'chai'; |
||
2 | import entry from '../entry'; |
||
3 | |||
4 | suite('Configurations'); |
||
5 | |||
6 | test('Default configuration', function () { |
||
7 | assert.exists(entry); |
||
8 | }); |
||
9 | |||
10 | test('Negative: missing dir', function () { |
||
11 | assert.throws(() => new entry(), "'dir' option is required"); |
||
0 ignored issues
–
show
Coding Style
Best Practice
introduced
by
![]() |
|||
12 | }); |
||
13 |