Skip to content

Commit

Permalink
chore: remove unused files reported by Knip and an unused mock
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcoindev committed Apr 8, 2024
1 parent 6bbe548 commit b1fbc0a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 201 deletions.
2 changes: 1 addition & 1 deletion knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { KnipConfig } from "knip";
const config: KnipConfig = {
entry: ["build/index.ts"],
project: ["src/**/*.ts"],
ignore: ["src/utils/config.ts", "src/utils/helpers.ts", "src/types/github.ts", "src/types/webhook-events.ts"],
ignore: [],
ignoreExportsUsedInFile: true,
ignoreDependencies: ["ts-node"],
jest: {
Expand Down
9 changes: 0 additions & 9 deletions src/types/github.ts

This file was deleted.

28 changes: 0 additions & 28 deletions src/types/webhook-events.ts

This file was deleted.

63 changes: 0 additions & 63 deletions src/utils/config.ts

This file was deleted.

99 changes: 0 additions & 99 deletions src/utils/helpers.ts

This file was deleted.

1 change: 0 additions & 1 deletion tests/generate-payout-permit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { generatePayoutPermit } from "../src/handlers/generate-payout-permit";
import { Context } from "../src/types/context";
import { cypherText, mockContext, SPENDER } from "./constants";

jest.mock("../src/utils/helpers");
jest.mock("../src/handlers/generate-erc20-permit");
jest.mock("../src/handlers/generate-erc721-permit");

Expand Down

0 comments on commit b1fbc0a

Please sign in to comment.