Skip to content

Commit

Permalink
test: fix windows tests (#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jan 6, 2023
1 parent 1997767 commit aeba492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/reporters/tests/reporters.spec.ts
Expand Up @@ -185,7 +185,7 @@ test('JUnit reporter with outputFile in non-existing directory', async () => {
expect(readFileSync(outputFile, 'utf8')).toMatchSnapshot()

// Cleanup
rmSync(rootDirectory, { recursive: true })
rmSync(outputFile)
})

test('JUnit reporter with outputFile object in non-existing directory', async () => {
Expand Down Expand Up @@ -214,7 +214,7 @@ test('JUnit reporter with outputFile object in non-existing directory', async ()
expect(readFileSync(outputFile, 'utf8')).toMatchSnapshot()

// Cleanup
rmSync(rootDirectory, { recursive: true })
rmSync(outputFile)
})

test('json reporter', async () => {
Expand Down

0 comments on commit aeba492

Please sign in to comment.