diff --git a/smoke-tests/test/fixtures/setup.js b/smoke-tests/test/fixtures/setup.js index 003a2ee302e18..683a8ffbc7153 100644 --- a/smoke-tests/test/fixtures/setup.js +++ b/smoke-tests/test/fixtures/setup.js @@ -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