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
This commit is contained in:
David Dios 2017-12-18 19:49:01 +01:00 committed by Andrey Lushnikov
parent 18d5cfa269
commit 10f3b92304

View File

@ -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);