Skip to content

Commit

Permalink
fix: broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed May 17, 2024
1 parent 52c97b8 commit 4429158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions typegate/tests/rest/rest_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ Meta.test("Rest queries in Deno", async (t) => {
.withVars({ badField: {} })
.expectBody((res) => {
assertStringIncludes(
res["message"],
'missing variable "obj" value',
res["error"],
"variable not found: $obj",
);
})
.on(e);
Expand Down
2 changes: 1 addition & 1 deletion typegate/tests/simple/simple_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Meta.test("Simple graph", async (t) => {
rec(nested: { arg: $val })
}
`
.expectErrorContains("missing variable")
.expectErrorContains("variable not found")
.on(e);
});

Expand Down

0 comments on commit 4429158

Please sign in to comment.