mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Fix uni tests
This commit is contained in:
parent
e516b7cf46
commit
651a2e1bf1
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