style: apply biome lint fixes to catalog files and live repair tests

This commit is contained in:
openhands committed 2026-09-10 11:32:20 +02:00
1 parent 3e69b72513
commit acbe54fcb7
5 files changed
+23 -21

No files matched your search

@@ -70,12 +70,8 @@ describe("emulator offer constraints", () => {
expect(offerPatchSchema.parse({ amount: 1 })).toEqual({ amount: 1 });
});
it("rejects unsupported pointsType values", () => {
expect(offerPatchSchema.safeParse({ pointsType: 101 }).success).toBe(
false,
);
expect(offerPatchSchema.safeParse({ pointsType: 103 }).success).toBe(
false,
);
expect(offerPatchSchema.safeParse({ pointsType: 101 }).success).toBe(false);
expect(offerPatchSchema.safeParse({ pointsType: 103 }).success).toBe(false);
expect(offerPatchSchema.safeParse({ pointsType: -1 }).success).toBe(false);
});
it("accepts supported pointsType values", () => {
@@ -88,12 +84,10 @@ describe("emulator offer constraints", () => {
});
it("rejects limitedStack below limitedSells", () => {
expect(
offerPatchSchema.safeParse({ limitedStack: 0, limitedSells: 1 })
.success,
offerPatchSchema.safeParse({ limitedStack: 0, limitedSells: 1 }).success,
).toBe(false);
expect(
offerPatchSchema.safeParse({ limitedStack: 5, limitedSells: 10 })
.success,
offerPatchSchema.safeParse({ limitedStack: 5, limitedSells: 10 }).success,
).toBe(false);
});
it("accepts limitedStack >= limitedSells", () => {