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
@@ -80,9 +80,9 @@ describe("submitRequest", () => {
|
||||
});
|
||||
|
||||
it("stores null for whichever of song/artist is left empty", async () => {
|
||||
await expect(
|
||||
submitRequest(buildForm({ artist: "" })),
|
||||
).rejects.toThrow("/radio/requests?posted=1");
|
||||
await expect(submitRequest(buildForm({ artist: "" }))).rejects.toThrow(
|
||||
"/radio/requests?posted=1",
|
||||
);
|
||||
expect(state.insert.mock.calls[0][1]).toMatchObject({
|
||||
songTitle: "Never Gonna Give You Up",
|
||||
artist: null,
|
||||
@@ -150,4 +150,4 @@ describe("submitRequest", () => {
|
||||
"/radio/requests?error=error",
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user