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

Commit

Permalink
unit(validator): add async function in divisibly by test
Browse files Browse the repository at this point in the history
  • Loading branch information
Argsfried committed Oct 15, 2022
1 parent 2155320 commit 38d4bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/validators/date/divisible_by.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("Validator pipe: divisible by", () => {
expect(sanitizeValue).toEqual("10")
})

it("can accept invalid input", () => {
it("can accept invalid input", async() => {
const value = Promise.resolve(makeInitialState("10"))
const constraints = {
"request": null,
Expand Down

0 comments on commit 38d4bd7

Please sign in to comment.