diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-23 18:00:42 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-24 17:14:02 -0300 |
commit | 236d4347f5884bb1d9ca1d3bb4ad0ba776577fd2 (patch) | |
tree | a38823a73006c38bd54cb438da81f13bb513dce5 /packages/demobank-ui/src/components/Cashouts/test.ts | |
parent | 579128ce40c7e56f390cadaf2fc2fd4cc6290d68 (diff) | |
download | wallet-core-236d4347f5884bb1d9ca1d3bb4ad0ba776577fd2.tar.xz |
many changes
activate eslint
update file headers
removed history and preact-router
remove eslint errors and more applied prettier
Diffstat (limited to 'packages/demobank-ui/src/components/Cashouts/test.ts')
-rw-r--r-- | packages/demobank-ui/src/components/Cashouts/test.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/components/Cashouts/test.ts b/packages/demobank-ui/src/components/Cashouts/test.ts index 031794b96..569cbc6f0 100644 --- a/packages/demobank-ui/src/components/Cashouts/test.ts +++ b/packages/demobank-ui/src/components/Cashouts/test.ts @@ -25,6 +25,7 @@ import { expect } from "chai"; import { CASHOUT_API_EXAMPLE } from "../../endpoints.js"; import { Props } from "./index.js"; import { useComponentState } from "./state.js"; +import { buildNullRoutDefinition } from "../../route.js"; describe("Cashout states", () => { it.skip("should query backend and render transactions", async () => { @@ -32,9 +33,7 @@ describe("Cashout states", () => { const props: Props = { account: "123", - onSelected: () => { - null; - }, + routeCashoutDetails: buildNullRoutDefinition(), }; env.addRequestExpectation(CASHOUT_API_EXAMPLE.LIST_FIRST_PAGE, { |