Skip to content

Commit

Permalink
chore: allow for much slower tests (#5276)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Aug 9, 2022
1 parent 95ae9f2 commit a4808fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/commands/init.js
Expand Up @@ -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' })
Expand Down

0 comments on commit a4808fb

Please sign in to comment.