We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b19dbf2 commit 8175b35Copy full SHA for 8175b35
__tests__/marketplace.test.tsx
@@ -12,6 +12,10 @@ import store from '../app/src/redux/store';
12
13
// Mocking the axios module to avoid actual network calls
14
jest.mock('axios');
15
+jest.mock(
16
+ 'resources/marketplace_images/marketplace_image.png',
17
+ () => 'mock-image-url'
18
+);
19
20
describe('MarketplaceCard Render Test', () => {
21
const mockProject = {
@@ -72,9 +76,6 @@ describe('MarketplaceContainer', () => {
72
76
expect(screen.getByText('Project 2')).toBeInTheDocument();
73
77
expect(screen.getByText('user2')).toBeInTheDocument();
74
78
});
75
-
- // Additional tests can include: testing search bar functionality,
- // loading states, and no results found message.
79
80
81
const mockProjects = [
0 commit comments