Skip to content

Commit

Permalink
fix: fixed knip and wallet test
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Aug 23, 2024
1 parent 403a293 commit 01c4aae
Show file tree
Hide file tree
Showing 3 changed files with 563 additions and 494 deletions.
2 changes: 1 addition & 1 deletion .github/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config: KnipConfig = {
ignore: ["**/__mocks__/**", "**/__fixtures__/**", "src/types/database.ts"],
ignoreExportsUsedInFile: true,
// eslint can also be safely ignored as per the docs: https://knip.dev/guides/handling-issues#eslint--jest
ignoreDependencies: ["eslint-config-prettier", "eslint-plugin-prettier", "@mswjs/data"],
ignoreDependencies: ["eslint-config-prettier", "eslint-plugin-prettier", "@mswjs/data", "ts-node"],
eslint: true,
};

Expand Down
4 changes: 2 additions & 2 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ describe("Wallet command tests", () => {
);
expect(spy).toHaveBeenCalledTimes(1);
expect(spy).toHaveBeenLastCalledWith("Successfully registered wallet address", {
address: "0x0000000000000000000000000000000000000001",
address: "0xefC0e701A824943b469a694aC564Aa1efF7Ab7dd",
sender: "ubiquibot",
});
});
}, 10000);
});
Loading

0 comments on commit 01c4aae

Please sign in to comment.