Skip to content

Commit f6aa3dd

Browse files
committed
test: mock the audit endpoint
1 parent 2b0f8e5 commit f6aa3dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

workspaces/arborist/test/arborist/pruner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ t.test('prune with lockfile', async t => {
3939
})
4040

4141
t.test('prune with lockfile with implicit optional peer dependencies', async t => {
42+
registry.audit({})
4243
const path = fixture(t, 'prune-lockfile-optional-peer')
4344
const tree = await pruneTree(path)
4445

0 commit comments

Comments
 (0)