Skip to content

Commit

Permalink
chore(smoke-tests): clean times from snapshots (#5931)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Dec 7, 2022
1 parent cf57ffa commit e25bba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smoke-tests/test/fixtures/setup.js
Expand Up @@ -125,7 +125,7 @@ module.exports = async (t, { testdir = {}, debug } = {}) => {
.replace(/ \(in a browser\)/g, '')
.replace(/^npm@.* /gm, 'npm ')
.replace(/^.*debug-[0-9]+.log$/gm, '')
.replace(/in \d+ms$/gm, 'in {TIME}')
.replace(/in \d+[ms]+$/gm, 'in {TIME}')
}
const log = (...a) => debugLog(cleanOutput(a.join(' ')))
t.cleanSnapshot = cleanOutput
Expand Down

0 comments on commit e25bba8

Please sign in to comment.