Skip to content

Commit

Permalink
Improve test assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-wratt committed Apr 4, 2024
1 parent da92076 commit 44f0c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/geo-filter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ test("Filter access based on continent code", async (t) => {
strictEqual(
action.access.code,
"invalid_request",
"Expected denied code 'invalid_request'"
"Unexpected denial code"
);

strictEqual(
action.access.reason,
"Access from North America is not allowed.",
"Expected denied reason 'Access from North America is not allowed.'"
"Unexpected denial reason"
);
});

Expand Down

0 comments on commit 44f0c33

Please sign in to comment.