diff options
author | Gar <gar+gh@danger.computer> | 2022-08-09 22:37:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 22:37:09 +0300 |
commit | a4808fbd5601df10f6bdf20029cdbf1f06966c98 (patch) | |
tree | b5470b57be831659a22ed8da603fbbd6a5776c95 /test | |
parent | 95ae9f2e2555ef592777399bf8fee5206d77f41d (diff) |
chore: allow for much slower tests (#5276)
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/commands/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/commands/init.js b/test/lib/commands/init.js index e7b273934..2dcca5b7f 100644 --- a/test/lib/commands/init.js +++ b/test/lib/commands/init.js @@ -371,7 +371,7 @@ t.test('workspaces', t => { }) const init = new Init(npm) await init.execWorkspaces([], ['a']) - const output = npm._mockOutputs.map(arr => arr.map(i => i.replace(/[0-9]*ms$/, '100ms'))) + const output = npm._mockOutputs.map(arr => arr.map(i => i.replace(/[0-9]*m?s$/, '100ms'))) t.matchSnapshot(output, 'should print helper info') const lockFilePath = resolve(npm.localPrefix, 'package-lock.json') const lockFile = fs.readFileSync(lockFilePath, { encoding: 'utf8' }) |