Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Removed unnecessary await keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jevgenijus Marinuskinas committed Nov 23, 2020
1 parent 412ff51 commit 2765a45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/tests/helpers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("Helpers", () => {
const regex = /[^A-Za-z]/;

//Assert
await expect(regex.test(text)).toBeFalsy();
expect(regex.test(text)).toBeFalsy();
});

it("should generate random text with numbers", async () => {
Expand All @@ -101,6 +101,6 @@ describe("Helpers", () => {
const regex = /[^A-Za-z0-9]/;

//Assert
await expect(regex.test(text)).toBeFalsy();
expect(regex.test(text)).toBeFalsy();
});
});

0 comments on commit 2765a45

Please sign in to comment.