mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 00:56:01 +00:00
fix tests: replace initialConfig with config
This commit is contained in:
@@ -88,7 +88,7 @@ describe("repros", async () => {
|
||||
fns.relation(schema.product_likes).manyToOne(schema.users);
|
||||
},
|
||||
);
|
||||
const app = createApp({ initialConfig: { data: schema.toJSON() } });
|
||||
const app = createApp({ config: { data: schema.toJSON() } });
|
||||
await app.build();
|
||||
|
||||
const info = (await (await app.server.request("/api/data/info/products")).json()) as any;
|
||||
|
||||
Reference in New Issue
Block a user