lint: fix biome issues in new test files and helpers
This commit is contained in:
1 parent
99eb3af17b
commit
93862c2275
41 files changed
+488
-314
No files matched your search
@@ -14,7 +14,11 @@ describe("CatalogPackages table schema", () => {
|
||||
});
|
||||
|
||||
it("defines a uuid primary key", () => {
|
||||
expect(columns.id).toMatchObject({ name: "id", primary: true, notNull: true });
|
||||
expect(columns.id).toMatchObject({
|
||||
name: "id",
|
||||
primary: true,
|
||||
notNull: true,
|
||||
});
|
||||
});
|
||||
|
||||
it("defines the package metadata columns as NOT NULL", () => {
|
||||
@@ -33,4 +37,4 @@ describe("CatalogPackages table schema", () => {
|
||||
expect(columns.updatedAt.name).toBe("updated_at");
|
||||
expect(columns.updatedAt.notNull).toBe(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import type { MySqlIndex } from "drizzle-orm/mysql-core";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
GamedataDocs,
|
||||
GamedataFurnidata,
|
||||
@@ -94,4 +94,4 @@ describe("gamedata schema tables", () => {
|
||||
const docsCols = columnsOf(GamedataDocs);
|
||||
expect(docsCols.payloadSha1.hasDefault).toBe(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user