Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+4 -2
View File
@@ -29,7 +29,9 @@ describe("client-id", () => {
it("creates and persists a client id when missing", async () => {
asyncStorageMock.getItem.mockResolvedValue(null);
asyncStorageMock.setItem.mockResolvedValue();
vi.spyOn(globalThis.crypto, "randomUUID").mockReturnValue("12345678-1234-1234-1234-1234567890ab");
vi.spyOn(globalThis.crypto, "randomUUID").mockReturnValue(
"12345678-1234-1234-1234-1234567890ab",
);
const mod = await import("./client-id");
const key = await mod.getOrCreateClientId();
@@ -37,7 +39,7 @@ describe("client-id", () => {
expect(key).toBe("cid_123456781234123412341234567890ab");
expect(asyncStorageMock.setItem).toHaveBeenCalledWith(
"@paseo:client-id-v1",
"cid_123456781234123412341234567890ab"
"cid_123456781234123412341234567890ab",
);
});
});