From d24c91e69e6e8292fc54553f4c5451786f4387d9 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Fri, 19 Aug 2016 18:48:29 -0700 Subject: [PATCH] Asset saver test fixup. --- lighthouse-core/test/lib/asset-saver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse-core/test/lib/asset-saver.js b/lighthouse-core/test/lib/asset-saver.js index 22920fa384a6..4fbce8f2e479 100644 --- a/lighthouse-core/test/lib/asset-saver.js +++ b/lighthouse-core/test/lib/asset-saver.js @@ -54,7 +54,7 @@ describe('asset-saver helper', () => { assetSaver.saveAssets(options, artifacts); it('trace file saved to disk with data', () => { - const traceFilename = assetSaver.getFilenamePrefix(options) + '.trace.json'; + const traceFilename = assetSaver.getFilenamePrefix(options) + '0.trace.json'; const traceFileContents = fs.readFileSync(traceFilename, 'utf8'); assert.ok(traceFileContents.length > 3000000); fs.unlinkSync(traceFilename);