chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -12,9 +12,7 @@ describe("config preservation on validation failure", () => {
customUnknownField: { nested: "value" },
});
expect(res.ok).toBe(true);
expect(
(res as { config: Record<string, unknown> }).config.customUnknownField,
).toEqual({
expect((res as { config: Record<string, unknown> }).config.customUnknownField).toEqual({
nested: "value",
});
});
@@ -42,9 +40,7 @@ describe("config preservation on validation failure", () => {
expect((snap.config as Record<string, unknown>).customData).toEqual({
preserved: true,
});
expect(snap.config.channels?.whatsapp?.allowFrom).toEqual([
"+15555550123",
]);
expect(snap.config.channels?.whatsapp?.allowFrom).toEqual(["+15555550123"]);
});
});
});