style(frontend): fix formatting in marketplace integration tests

This commit is contained in:
Otto
2026-01-30 06:34:31 +00:00
parent 6299045f98
commit 0fcaa63162
4 changed files with 9 additions and 9 deletions

View File

@@ -57,8 +57,6 @@ describe("MainAgentPage - Auth State", () => {
await waitFor(() => {
expect(screen.getByTestId("agent-title")).toBeInTheDocument();
});
expect(
screen.getByTestId("agent-add-library-button"),
).toBeInTheDocument();
expect(screen.getByTestId("agent-add-library-button")).toBeInTheDocument();
});
});

View File

@@ -80,8 +80,6 @@ describe("MainMarketplacePage - Empty State", () => {
render(<MainMarkeplacePage />);
// Page should still render the search bar
expect(
await screen.findByPlaceholderText(/search/i),
).toBeInTheDocument();
expect(await screen.findByPlaceholderText(/search/i)).toBeInTheDocument();
});
});

View File

@@ -37,7 +37,9 @@ describe("MainMarketplacePage - Loading State", () => {
const { container } = render(<MainMarkeplacePage />);
// Check for loading skeleton elements (animated pulse elements)
const loadingElements = container.querySelectorAll('[class*="animate-pulse"]');
const loadingElements = container.querySelectorAll(
'[class*="animate-pulse"]',
);
expect(loadingElements.length).toBeGreaterThan(0);
});
});

View File

@@ -41,7 +41,7 @@ describe("MainSearchResultPage - No Results", () => {
await waitFor(() => {
expect(screen.getByText("Results for:")).toBeInTheDocument();
});
// Verify search term is displayed
expect(screen.getByText("nonexistent-search-term-xyz")).toBeInTheDocument();
});
@@ -64,7 +64,9 @@ describe("MainSearchResultPage - No Results", () => {
render(<MainSearchResultPage {...defaultProps} />);
await waitFor(() => {
expect(screen.getByText("nonexistent-search-term-xyz")).toBeInTheDocument();
expect(
screen.getByText("nonexistent-search-term-xyz"),
).toBeInTheDocument();
});
});