diff --git a/test/test-clean.ts b/test/test-clean.ts index 276c5eee..0f039cbe 100644 --- a/test/test-clean.ts +++ b/test/test-clean.ts @@ -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/); }); });