Skip to content

Commit a400ba8

Browse files
authoredDec 10, 2024··
chore: apply automated lint fixes
1 parent 08cada2 commit a400ba8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
 

‎test/drivers/indexedb.test.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ describe("drivers: indexeddb", () => {
2424
await customStorage.clear();
2525
expect(await customStorage.hasItem("second")).toBe(false);
2626
});
27-
27+
2828
it("properly handle raw items", async () => {
2929
await customStorage.setItem("object", { item: "foo" });
3030
await customStorage.setItemRaw("rawObject", { item: "foo" });
31-
expect(await customStorage.getItemRaw("object")).toBe("{\"item\":\"foo\"}");
32-
expect(await customStorage.getItemRaw("rawObject")).toStrictEqual({ item: "foo" });
31+
expect(await customStorage.getItemRaw("object")).toBe('{"item":"foo"}');
32+
expect(await customStorage.getItemRaw("rawObject")).toStrictEqual({
33+
item: "foo",
34+
});
3335
await customStorage.setItem("number", 1234);
3436
await customStorage.setItemRaw("rawNumber", 1234);
3537
expect(await customStorage.getItemRaw("number")).toBe("1234");
@@ -38,5 +40,5 @@ describe("drivers: indexeddb", () => {
3840
await customStorage.setItemRaw("rawBoolean", true);
3941
expect(await customStorage.getItemRaw("boolean")).toBe("true");
4042
expect(await customStorage.getItemRaw("rawBoolean")).toBe(true);
41-
})
43+
});
4244
});

0 commit comments

Comments
 (0)
Please sign in to comment.