diff --git a/packages/js/e2e-environment/bin/e2e-test-integration.js b/packages/js/e2e-environment/bin/e2e-test-integration.js index e26a4c5edb9..e3b1067f865 100755 --- a/packages/js/e2e-environment/bin/e2e-test-integration.js +++ b/packages/js/e2e-environment/bin/e2e-test-integration.js @@ -75,7 +75,7 @@ if ( program.args.length == 1 ) { } let jestCommand = 'jest'; -let outputFile = __dirname + '/test-results.json'; +let outputFile = process.cwd() + '/test-results.json'; const jestArgs = [ '--maxWorkers=1', '--rootDir=./',