Skip to content

Commit e25bba8

Browse files
authored
chore(smoke-tests): clean times from snapshots (#5931)
1 parent cf57ffa commit e25bba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smoke-tests/test/fixtures/setup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = async (t, { testdir = {}, debug } = {}) => {
125125
.replace(/ \(in a browser\)/g, '')
126126
.replace(/^npm@.* /gm, 'npm ')
127127
.replace(/^.*debug-[0-9]+.log$/gm, '')
128-
.replace(/in \d+ms$/gm, 'in {TIME}')
128+
.replace(/in \d+[ms]+$/gm, 'in {TIME}')
129129
}
130130
const log = (...a) => debugLog(cleanOutput(a.join(' ')))
131131
t.cleanSnapshot = cleanOutput

0 commit comments

Comments
 (0)