mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Remi feedback
This commit is contained in:
parent
b8fb837c4c
commit
35c1dc85b4
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`Plugins tab renders and matches the plugin tab snapshot 1`] = `
|
exports[`Marketplace page - plugins tab renders and matches the plugin tab snapshot 1`] = `
|
||||||
.c17 {
|
.c17 {
|
||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`Providers tab renders and matches the providers tab snapshot 1`] = `
|
exports[`Marketplace page - providers tab renders and matches the providers tab snapshot 1`] = `
|
||||||
.c17 {
|
.c17 {
|
||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
@ -68,9 +68,9 @@ describe('Marketplace page - layout', () => {
|
|||||||
|
|
||||||
afterAll(() => server.close());
|
afterAll(() => server.close());
|
||||||
|
|
||||||
it('redners the online layout', async () => {
|
it('renders the online layout', async () => {
|
||||||
const trackUsage = jest.fn();
|
const trackUsage = jest.fn();
|
||||||
useTracking.mockImplementation(() => ({ trackUsage }));
|
useTracking.mockImplementationOnce(() => ({ trackUsage }));
|
||||||
|
|
||||||
const { container } = render(App);
|
const { container } = render(App);
|
||||||
await waitForReload();
|
await waitForReload();
|
||||||
@ -121,6 +121,6 @@ describe('Marketplace page - layout', () => {
|
|||||||
});
|
});
|
||||||
expect(toggleNotification).toHaveBeenCalledTimes(1);
|
expect(toggleNotification).toHaveBeenCalledTimes(1);
|
||||||
// Should not show install buttons
|
// Should not show install buttons
|
||||||
expect(screen.queryByText(/copy install command/i)).not.toBeInTheDocument();
|
expect(screen.queryByText(/copy install command/i)).toEqual(null);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -56,7 +56,7 @@ const waitForReload = async () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('Providers tab', () => {
|
describe('Marketplace page - providers tab', () => {
|
||||||
let renderedContainer;
|
let renderedContainer;
|
||||||
let history;
|
let history;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user