Skip to content

Commit fb9d8f2

Browse files
committed
fix: update biome again
1 parent 330d91d commit fb9d8f2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

site/src/pages/AuditPage/AuditPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { screen, waitFor } from "@testing-library/react";
22
import userEvent from "@testing-library/user-event";
33
import { API } from "api/api";
4+
import type { AuditLogsRequest } from "api/typesGenerated";
45
import { DEFAULT_RECORDS_PER_PAGE } from "components/PaginationWidget/utils";
56
import { http, HttpResponse } from "msw";
67
import {
@@ -15,7 +16,6 @@ import {
1516
import { server } from "testHelpers/server";
1617
import * as CreateDayString from "utils/createDayString";
1718
import AuditPage from "./AuditPage";
18-
import type { AuditLogsRequest } from "api/typesGenerated";
1919

2020
interface RenderPageOptions {
2121
filter?: string;

site/src/pages/WorkspacesPage/WorkspacesPage.test.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { screen, waitFor, within } from "@testing-library/react";
22
import userEvent from "@testing-library/user-event";
33
import { API } from "api/api";
4-
import type { Template, WorkspacesResponse, Workspace } from "api/typesGenerated";
4+
import type { Workspace, WorkspacesResponse } from "api/typesGenerated";
55
import { http, HttpResponse } from "msw";
66
import {
77
MockDormantOutdatedWorkspace,
@@ -30,7 +30,10 @@ describe("WorkspacesPage", () => {
3030
it("renders an empty workspaces page", async () => {
3131
server.use(
3232
http.get("/api/v2/workspaces", async () => {
33-
return HttpResponse.json<WorkspacesResponse>({ workspaces: [], count: 0 });
33+
return HttpResponse.json<WorkspacesResponse>({
34+
workspaces: [],
35+
count: 0,
36+
});
3437
}),
3538
);
3639

0 commit comments

Comments
 (0)