mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Revert timeout to original
This commit is contained in:
parent
9229d53ad1
commit
c4150aa613
@ -20,6 +20,8 @@ import { createMemoryHistory } from 'history';
|
|||||||
import MarketPlacePage from '../index';
|
import MarketPlacePage from '../index';
|
||||||
import server from './server';
|
import server from './server';
|
||||||
|
|
||||||
|
// Increase the jest timeout to accommodate long running tests
|
||||||
|
jest.setTimeout(50000);
|
||||||
const toggleNotification = jest.fn();
|
const toggleNotification = jest.fn();
|
||||||
jest.mock('../../../hooks/useNavigatorOnLine', () => jest.fn(() => true));
|
jest.mock('../../../hooks/useNavigatorOnLine', () => jest.fn(() => true));
|
||||||
jest.mock('@strapi/helper-plugin', () => ({
|
jest.mock('@strapi/helper-plugin', () => ({
|
||||||
@ -58,8 +60,6 @@ const waitForReload = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
describe('Marketplace page - plugins tab', () => {
|
describe('Marketplace page - plugins tab', () => {
|
||||||
// Increase the jest timeout to accommodate long running tests
|
|
||||||
jest.setTimeout(30000);
|
|
||||||
let renderedContainer;
|
let renderedContainer;
|
||||||
let history;
|
let history;
|
||||||
|
|
||||||
|
@ -19,6 +19,8 @@ import { createMemoryHistory } from 'history';
|
|||||||
import MarketPlacePage from '../index';
|
import MarketPlacePage from '../index';
|
||||||
import server from './server';
|
import server from './server';
|
||||||
|
|
||||||
|
// Increase the jest timeout to accommodate long running tests
|
||||||
|
jest.setTimeout(50000);
|
||||||
const toggleNotification = jest.fn();
|
const toggleNotification = jest.fn();
|
||||||
jest.mock('../../../hooks/useNavigatorOnLine', () => jest.fn(() => true));
|
jest.mock('../../../hooks/useNavigatorOnLine', () => jest.fn(() => true));
|
||||||
jest.mock('@strapi/helper-plugin', () => ({
|
jest.mock('@strapi/helper-plugin', () => ({
|
||||||
@ -71,8 +73,6 @@ describe('Marketplace page - providers tab', () => {
|
|||||||
afterAll(() => server.close());
|
afterAll(() => server.close());
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
// Increase the jest timeout to accommodate long running tests
|
|
||||||
jest.setTimeout(30000);
|
|
||||||
history = createMemoryHistory();
|
history = createMemoryHistory();
|
||||||
// Make sure each test isolated
|
// Make sure each test isolated
|
||||||
const { container } = render(
|
const { container } = render(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user