Skip to content

Commit e4effc5

Browse files
committed
fix(test): remove unused ValidationError import after cursor mode update
1 parent 5023970 commit e4effc5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/commands/issue/list.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { setDefaults } from "../../../src/lib/db/defaults.js";
2323
// biome-ignore lint/performance/noNamespaceImport: needed for spyOn mocking
2424
import * as paginationDb from "../../../src/lib/db/pagination.js";
2525
import { setOrgRegion } from "../../../src/lib/db/regions.js";
26-
import { ApiError, ValidationError } from "../../../src/lib/errors.js";
26+
import { ApiError } from "../../../src/lib/errors.js";
2727
import { mockFetch, useTestConfigDir } from "../../helpers.js";
2828

2929
type ListFlags = {
@@ -456,7 +456,10 @@ describe("issue list: org-all mode (cursor pagination)", () => {
456456
target?: string
457457
) => Promise<void>;
458458

459-
listIssuesPaginatedSpy.mockResolvedValue({ data: [], nextCursor: undefined });
459+
listIssuesPaginatedSpy.mockResolvedValue({
460+
data: [],
461+
nextCursor: undefined,
462+
});
460463

461464
const { context } = createOrgAllContext();
462465

0 commit comments

Comments
 (0)