From 46a7742453820815623791864f4631ad5b444c6b Mon Sep 17 00:00:00 2001 From: Tobias Sorn Date: Mon, 29 Jul 2019 15:04:56 +0200 Subject: [PATCH] remove duplicate await --- test/lib/types/library/LibraryFormatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/types/library/LibraryFormatter.js b/test/lib/types/library/LibraryFormatter.js index 8a2ec4ab9..5d13f6ebc 100644 --- a/test/lib/types/library/LibraryFormatter.js +++ b/test/lib/types/library/LibraryFormatter.js @@ -104,7 +104,7 @@ test("validate: src directory does not exist", async (t) => { dirExists.onFirstCall().resolves(false); dirExists.onSecondCall().resolves(true); - const error = await await t.throwsAsync(libraryFormatter.validate(myProject)); + const error = await t.throwsAsync(libraryFormatter.validate(myProject)); t.regex(error.message, /^Could not find source directory of project library\.e\.id: (?!(undefined))+/, "Missing source directory caused error"); });