Skip to content

Commit 1c3450a

Browse files
committed
fix: 🐛 linter
1 parent 7c46916 commit 1c3450a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/cli/__tests__/commands/generate/generate.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jest.mock("preflights/preflight-generate", () => {
1616
resolvedPaths: { cwd: "/tmp", api: "/tmp", hooks: "/tmp", ui: "/tmp", components: "/tmp", lib: "/tmp" },
1717
};
1818
return {
19-
preFlightGenerate: jest.fn(async (_opts: unknown) => ({ errors: {}, config: fakeConfig })),
19+
preFlightGenerate: jest.fn(async () => ({ errors: {}, config: fakeConfig })),
2020
};
2121
});
2222
jest.mock("codegen/openapi/generator", () => {
2323
class FakeGenerator {
24-
static getSchemaFromUrl = jest.fn(async (_opts: unknown) => ({ openapi: "3.0.0", paths: {} }));
25-
generateFile = jest.fn(async (_opts: unknown) => undefined);
26-
constructor(_schema: unknown) {}
24+
static getSchemaFromUrl = jest.fn(async () => ({ openapi: "3.0.0", paths: {} }));
25+
generateFile = jest.fn(async () => undefined);
26+
constructor() {}
2727
}
2828
return { OpenapiRequestGenerator: FakeGenerator };
2929
});

0 commit comments

Comments
 (0)