From eb02f66ac7af84f1bcb23b5b8d50003d15c9846a Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Tue, 29 Dec 2020 09:46:56 -0800 Subject: [PATCH] dangling promise --- test/test-clean.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/); }); });