Skip to content

Commit

Permalink
rwwq
Browse files Browse the repository at this point in the history
  • Loading branch information
vishvamsinh28 committed Oct 23, 2024
1 parent 2ee9f6f commit 6804d6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/build-rss.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ describe('rssFeed', () => {

let error;
try {
await expect(rssFeed(type, title, desc, invalidOutputPath))
.rejects.toThrow(/ENOENT|EACCES/);
await expect(rssFeed(type, title, desc, invalidOutputPath)).rejects.toThrow(/ENOENT|EACCES/);
} catch (err) {
error = err;
expect(error.message).toMatch(/ENOENT|EACCES/);
Expand Down

0 comments on commit 6804d6e

Please sign in to comment.