Skip to content

Commit

Permalink
remove duplicate await
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasso85 committed Jul 29, 2019
1 parent 30ada8b commit 46a7742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/types/library/LibraryFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit 46a7742

Please sign in to comment.