Skip to content

Commit

Permalink
test: check for generator errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlexLichter committed Apr 20, 2018
1 parent c4e5ff1 commit 48196f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/module.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ describe('generator', async () => {
' <atom:link href="https://example.com/atom" rel="self" type="application/rss+xml"/>\n' +
' </channel>\n' +
'</rss>')
const { errors } = await generator.generate()
fs.removeSync(filePath)
expect(errors.length).toBe(0)
}, timeout)
})

Expand Down

0 comments on commit 48196f7

Please # to comment.