Skip to content

Commit

Permalink
Asset saver test fixup.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Aug 20, 2016
1 parent 9cb1536 commit d24c91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/test/lib/asset-saver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d24c91e

Please sign in to comment.