Skip to content

Commit

Permalink
chore: Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov authored and Neven Dyulgerov committed Nov 27, 2023
1 parent 55e2481 commit c157406
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/app/shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Shell: FC<{ children: ReactNode }> = ({ children }) => {
onClick={openTransaction}
disabled={!isConnected}
visibleFrom="sm"
data-testid="deposit-button"
data-testid="transaction-button"
>
Send Transaction
</Button>
Expand Down
9 changes: 2 additions & 7 deletions apps/web/test/app/shell.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,12 @@ describe("Shell component", () => {
});

describe("Header", () => {
it("should display deposit links in header", () => {
it("should display transaction link in header", () => {
render(<Component>Children</Component>);

expect(
within(screen.getByTestId("header")).getByTestId(
"deposit-button",
),
).toBeInTheDocument();
expect(
within(screen.getByTestId("header")).getByTestId(
"deposit-ether-button",
"transaction-button",
),
).toBeInTheDocument();
});
Expand Down
2 changes: 1 addition & 1 deletion apps/web/test/components/sendTransaction.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe("SendTransaction component", () => {
render(<Component initialDepositType="erc20" />);

const tokenAutocomplete = screen.queryByTestId(
"token-autocomplete",
"token-input",
) as HTMLFormElement;

fireEvent.change(tokenAutocomplete, {
Expand Down

0 comments on commit c157406

Please sign in to comment.