From 35202aa7c76dc409ce5f6dfeca130a1912ffe406 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 6 Oct 2023 10:19:36 +0100 Subject: [PATCH] test(audit): update test assertions --- test/lib/commands/audit.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/lib/commands/audit.js b/test/lib/commands/audit.js index 25ced6655e654..623c7b6485159 100644 --- a/test/lib/commands/audit.js +++ b/test/lib/commands/audit.js @@ -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/ ) }) @@ -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/ ) }) @@ -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/ ) }) @@ -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/ ) }) @@ -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/ ) }) @@ -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/ ) })