Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions __tests__/components/header/share/HeaderShare.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ describe("HeaderShare", () => {
});

describe("Authentication State Handling", () => {
it("shows Share Connection tab when authenticated", async () => {
it("shows Connection tab when authenticated", async () => {
mockUseCapacitor.mockReturnValue({ isCapacitor: false } as any);
mockIsMobile.mockReturnValue(false);

Expand All @@ -260,8 +260,8 @@ describe("HeaderShare", () => {

await screen.findByTestId("header-share-modal");

// Should show Share Connection button when authenticated
expect(screen.getByText("Share Connection")).toBeInTheDocument();
// Should show Connection button when authenticated
expect(screen.getByText("Connection")).toBeInTheDocument();
expect(screen.getByText("Current URL")).toBeInTheDocument();
expect(screen.getByText("6529 Apps")).toBeInTheDocument();
});
Expand Down Expand Up @@ -291,8 +291,8 @@ describe("HeaderShare", () => {

await screen.findByTestId("header-share-modal");

// Should NOT show Share Connection button when not authenticated
expect(screen.queryByText("Share Connection")).not.toBeInTheDocument();
// Should NOT show Connection button when not authenticated
expect(screen.queryByText("Connection")).not.toBeInTheDocument();
expect(screen.getByText("Current URL")).toBeInTheDocument();
expect(screen.getByText("6529 Apps")).toBeInTheDocument();
});
Expand Down
32 changes: 0 additions & 32 deletions components/header/share/HeaderShare.module.scss

This file was deleted.

Loading