From 10f3b92304b9f751f2f295a35ff46ed6e96a5b25 Mon Sep 17 00:00:00 2001 From: David Dios Date: Mon, 18 Dec 2017 19:49:01 +0100 Subject: [PATCH] test: Fix broken Tracing unit tests (#1613) This patch fixes broken Tracing tests which are failing since the `state.parallel` -> `state.parallelIndex` modification of #1531 --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index f495d888..d13168b3 100644 --- a/test/test.js +++ b/test/test.js @@ -3000,7 +3000,7 @@ describe('Page', function() { describe('Tracing', function() { beforeEach(function(state) { - state.outputFile = path.join(__dirname, 'assets', `trace-${state.parallel}.json`); + state.outputFile = path.join(__dirname, 'assets', `trace-${state.parallelIndex}.json`); }); afterEach(function(state) { fs.unlinkSync(state.outputFile);