diff --git a/test/reporters/xunit.spec.js b/test/reporters/xunit.spec.js index 44296442e0..323db703a9 100644 --- a/test/reporters/xunit.spec.js +++ b/test/reporters/xunit.spec.js @@ -42,7 +42,7 @@ describe('XUnit reporter', function() { }); describe("when 'reporterOptions.output' is provided", function() { - var expectedOutput = path.join('path', 'to', 'some-output'); + var expectedOutput = path.join(path.sep, 'path', 'to', 'some-output'); var options = { reporterOptions: { output: expectedOutput