Skip to content

Commit a03d4eb

Browse files
committed
Add whitespace in exports coverage (alias-exclude)
1 parent 3d551db commit a03d4eb

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
import './exports';
2+
import './more';
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const kauri = 'kauri';
2+
const larch = 'larch';
3+
4+
export {
5+
kauri,
6+
7+
larch };
8+
9+

packages/knip/test/ignore-exports-used-in-file-alias-exclude.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test('Find unused exports respecting an ignoreExportsUsedInFile (alias)', async
1515

1616
assert.deepEqual(counters, {
1717
...baseCounters,
18-
processed: 2,
19-
total: 2,
18+
processed: 3,
19+
total: 3,
2020
});
2121
});

0 commit comments

Comments
 (0)