fix tests

This commit is contained in:
dswbx
2025-03-11 17:45:27 +01:00
parent 96781f5d3d
commit a72b11e9fb
2 changed files with 2 additions and 14 deletions

View File

@@ -78,17 +78,4 @@ describe("Migrations", () => {
// @ts-expect-error
expect(app.toJSON(true).server.admin).toBeUndefined();
});
test.only("migration from 8 to 9 (from initial)", async () => {
expect(v8_2.version).toBe(8);
const app = createApp({
connection: getDummyConnection().dummyConnection,
initialConfig: v8_2 as any,
});
expect(app.version()).toBeGreaterThan(8);
// @ts-expect-error
expect(app.toJSON(true).server.admin).toBeUndefined();
});
});