mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 14:57:09 +01:00
Fix uni tests
This commit is contained in:
parent
e8b8bc39e7
commit
4a6132b0b0
3 changed files with 2 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue