Skip to content

Commit

Permalink
dangling promise
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Dec 29, 2020
1 parent 9f9a687 commit eb02f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-clean.ts
Expand Up @@ -63,7 +63,7 @@ describe('clean', () => {
it('should gracefully error if tsconfig has invalid JSON', () => {
const invalidJson = "silly bear, this isn't JSON!";
return withFixtures({'tsconfig.json': invalidJson}, async () => {
assert.rejects(clean(OPTIONS), /Unable to parse/);
await assert.rejects(clean(OPTIONS), /Unable to parse/);
});
});

Expand Down

0 comments on commit eb02f66

Please sign in to comment.