From 44a5245b2008dbfe8c3a1ccce2e2ef323c35cfa5 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/); }); });