Skip to content

Commit

Permalink
test(audit): update test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Oct 6, 2023
1 parent 9a285d0 commit 35202aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/lib/commands/audit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ t.test('audit signatures', async t => {

await t.rejects(
npm.exec('audit', ['signatures']),
/found no dependencies to audit that where installed from a supported registry/
/found no dependencies to audit that were installed from a supported registry/
)
})

Expand Down Expand Up @@ -1424,7 +1424,7 @@ t.test('audit signatures', async t => {

await t.rejects(
npm.exec('audit', ['signatures']),
/found no dependencies to audit that where installed from a supported registry/
/found no dependencies to audit that were installed from a supported registry/
)
})

Expand Down Expand Up @@ -1766,7 +1766,7 @@ t.test('audit signatures', async t => {

await t.rejects(
npm.exec('audit', ['signatures']),
/found no dependencies to audit that where installed from a supported registry/
/found no dependencies to audit that were installed from a supported registry/
)
})

Expand All @@ -1787,7 +1787,7 @@ t.test('audit signatures', async t => {

await t.rejects(
npm.exec('audit', ['signatures']),
/found no dependencies to audit that where installed from a supported registry/
/found no dependencies to audit that were installed from a supported registry/
)
})

Expand Down Expand Up @@ -1815,7 +1815,7 @@ t.test('audit signatures', async t => {

await t.rejects(
npm.exec('audit', ['signatures']),
/found no dependencies to audit that where installed from a supported registry/
/found no dependencies to audit that were installed from a supported registry/
)
})

Expand Down Expand Up @@ -1844,7 +1844,7 @@ t.test('audit signatures', async t => {

await t.rejects(
npm.exec('audit', ['signatures']),
/found no dependencies to audit that where installed from a supported registry/
/found no dependencies to audit that were installed from a supported registry/
)
})

Expand Down

0 comments on commit 35202aa

Please sign in to comment.