Skip to content

Commit 80147d3

Browse files
committed
fix(test): name clash + update self_deploy
1 parent d53cbb7 commit 80147d3

File tree

6 files changed

+4
-5
lines changed

6 files changed

+4
-5
lines changed

typegate/tests/e2e/self_deploy/self_deploy.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import { Policy, t, typegraph } from "@typegraph/sdk/index.js";
55
import { DenoRuntime } from "@typegraph/sdk/runtimes/deno.js";
66

77
// export the typegraph
8-
export const tg = typegraph({
8+
export const tg = await typegraph({
99
name: "self-deploy",
10-
disableAutoSerialization: true, // disable print
1110
}, (g) => {
1211
const deno = new DenoRuntime();
1312
const pub = Policy.public();

typegate/tests/e2e/self_deploy/self_deploy_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Meta.test("deploy and undeploy typegraph without meta-cli", async (_) => {
2323
secrets: {},
2424
artifactsConfig: {
2525
prismaMigration: {
26-
action: {
26+
globalAction: {
2727
create: true,
2828
reset: false,
2929
},
File renamed without changes.

typegate/tests/random/random_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { gql, Meta } from "../utils/mod.ts";
55

66
Meta.test("Python: Random", async (t) => {
7-
const e = await t.engine("random/random.py");
7+
const e = await t.engine("random/random_.py");
88

99
await t.should("work", async () => {
1010
await gql`

typegate/tests/runtimes/http/http_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const getComments = (postId: number) =>
3131
const NEW_COMMENT_ID = 123;
3232

3333
Meta.test("Rest queries", async (t) => {
34-
const e = await t.engine("runtimes/http/http.py");
34+
const e = await t.engine("runtimes/http/http_.py");
3535

3636
mf.mock("GET@/api/posts", (req) => {
3737
const tags = new URL(req.url).searchParams.getAll("tags");

0 commit comments

Comments
 (0)