added format command and added trailing commas to reduce conflicts

This commit is contained in:
dswbx
2025-02-26 20:06:03 +01:00
parent 88b5359f1c
commit 7743f71a11
414 changed files with 3622 additions and 3610 deletions

View File

@@ -8,7 +8,7 @@ describe("integration config", () => {
await app.build();
const api = new Api({
host: "http://localhost",
fetcher: app.server.request as typeof fetch
fetcher: app.server.request as typeof fetch,
});
// create entity
@@ -16,7 +16,7 @@ describe("integration config", () => {
name: "posts",
config: { sort_field: "id", sort_dir: "asc" },
fields: { id: { type: "primary", name: "id" }, asdf: { type: "text" } },
type: "regular"
type: "regular",
});
expect(app.em.entities.map((e) => e.name)).toContain("posts");