File tree
Expand file treeCollapse file tree2 files changed
+4
-4
lines changed Expand file treeCollapse file tree2 files changed
+4
-4
lines changed Original file line number | Diff line number | Diff line change |
---|
|
3 | 3 | const tap = require('tap');
|
4 | 4 | const lib = require('..');
|
5 | 5 |
|
6 |
| -tap.test('API exported count', (test) => { |
| 6 | +tap.test('API exported count', test => { |
7 | 7 | test.strictSame(Object.keys(lib).length, 7);
|
8 | 8 | test.end();
|
9 | 9 | });
|
10 | 10 |
|
11 |
| -tap.test('API exported types', (test) => { |
| 11 | +tap.test('API exported types', test => { |
12 | 12 | for (const key in lib) {
|
13 | 13 | const fn = lib[key];
|
14 |
| -test.strictSame(typeof(fn), 'function'); |
| 14 | +test.strictSame(typeof fn, 'function'); |
15 | 15 | }
|
16 | 16 | test.end();
|
17 | 17 | });
|
|
Original file line number | Diff line number | Diff line change |
---|
|
3 | 3 | const tap = require('tap');
|
4 | 4 | const lib = require('..');
|
5 | 5 |
|
6 |
| -tap.test('submodules', (test) => { |
| 6 | +tap.test('submodules', test => { |
7 | 7 | test.strictSame(lib.method11(), 11);
|
8 | 8 | test.strictSame(lib.method12(), 12);
|
9 | 9 | test.strictSame(lib.method21(), 21);
|
|
You can’t perform that action at this time.
0 commit comments