Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Jan 20, 2025
1 parent faf6812 commit d7f54b3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@
"@starknet-react/core": "catalog:",
"starknet": "catalog:"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ErrorCode } from "@cartridge/account-wasm/controller";
import { describe, expect, beforeEach, it, vi } from "vitest";

const mockEstimateFee = vi.fn().mockImplementation(async () => ({
suggestedMaxFee: BigInt(1000)
suggestedMaxFee: BigInt(1000),
}));

vi.mock("@/hooks/connection", () => ({
Expand Down
6 changes: 5 additions & 1 deletion packages/keychain/src/components/ExecutionContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@ export function ExecutionContainer({
variant="info"
title="Session Already Registered"
/>
<Button onClick={() => onSubmit()} isLoading={false} data-testid="continue-button">
<Button
onClick={() => onSubmit()}
isLoading={false}
data-testid="continue-button"
>
CONTINUE
</Button>
</>
Expand Down
6 changes: 3 additions & 3 deletions packages/keychain/src/test/setup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '@testing-library/jest-dom';
import { afterEach } from 'vitest';
import { cleanup } from '@testing-library/react';
import "@testing-library/jest-dom";
import { afterEach } from "vitest";
import { cleanup } from "@testing-library/react";

// Add any global test setup here

Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@cartridge/tsconfig/react.json",
"compilerOptions": {
"types": ["vitest/globals"],
"types": ["@emotion/react/types/css-prop", "vitest/globals"],
"noEmit": true,
"paths": {
"@/*": ["./src/*"]
Expand Down

0 comments on commit d7f54b3

Please sign in to comment.