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 on test
Browse files Browse the repository at this point in the history
  • Loading branch information
Argsfried committed Oct 15, 2022
1 parent 5766540 commit 2155320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/validators/comparison/same.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("Validator pipe: same", () => {
expect(sanitizeValue).toEqual("world")
})

it("cannot accept invalid input", () => {
it("cannot accept invalid input", async() => {
const value = Promise.resolve(makeInitialState("foo"))
const constraints = {
"field": "hello",
Expand Down

0 comments on commit 2155320

Please sign in to comment.