Skip to content

Commit

Permalink
Fix uni tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner committed Nov 17, 2020
1 parent e516b7c commit 651a2e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,4 @@ lib/**/*

# Project specific
__tests__/__outputs__
__tests__/__results__
7 changes: 0 additions & 7 deletions __tests__/__results__/jest-junit.xml

This file was deleted.

1 change: 1 addition & 0 deletions __tests__/jest-junit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const outputPath = __dirname + '/__outputs__/jest-junit.md'
describe('jest-junit tests', () => {
it('matches report snapshot', async () => {
const result = await parseJestJunit(xmlFixture)
fs.mkdirSync(path.dirname(outputPath), {recursive: true})
fs.writeFileSync(outputPath, result?.output?.summary ?? '')

expect(result.success).toBeFalsy()
Expand Down

0 comments on commit 651a2e1

Please sign in to comment.