diff --git a/test/reporters/tests/__snapshots__/reporters.spec.ts.snap b/test/reporters/tests/__snapshots__/reporters.spec.ts.snap index 120b8dae10d2..c6ac3b4e8d04 100644 --- a/test/reporters/tests/__snapshots__/reporters.spec.ts.snap +++ b/test/reporters/tests/__snapshots__/reporters.spec.ts.snap @@ -237,7 +237,7 @@ AssertionError: expected 2.23606797749979 to equal 2 `; exports[`JUnit reporter with outputFile with XML in error details 1`] = ` -"JUNIT report written to /report.xml +"JUNIT report written to /report_escape_msg_xml.xml " `; diff --git a/test/reporters/tests/reporters.spec.ts b/test/reporters/tests/reporters.spec.ts index c48960b1babf..ab059865eafc 100644 --- a/test/reporters/tests/reporters.spec.ts +++ b/test/reporters/tests/reporters.spec.ts @@ -106,7 +106,7 @@ test('JUnit reporter with outputFile', async () => { test('JUnit reporter with outputFile with XML in error details', async () => { // Arrange const reporter = new JUnitReporter() - const outputFile = resolve('report.xml') + const outputFile = resolve('report_escape_msg_xml.xml') const context = getContext() context.vitest.config.outputFile = outputFile