mirror of
https://github.com/strapi/strapi.git
synced 2025-11-05 20:36:08 +00:00
Add timeouts in afterAll tests
This commit is contained in:
parent
87ddcaf6c4
commit
1792338cbd
@ -40,7 +40,7 @@ describe.each([
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteGroup('somegroup');
|
||||
await modelsUtils.deleteModel('withgroup');
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
describe('POST new entry', () => {
|
||||
test('Creating entry with JSON works', async () => {
|
||||
|
||||
@ -38,7 +38,7 @@ describe.each([
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteGroup('somegroup');
|
||||
await modelsUtils.deleteModel('withgroup');
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
describe('POST new entry', () => {
|
||||
test('Creating entry with JSON works', async () => {
|
||||
|
||||
@ -38,7 +38,7 @@ describe.each([
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteGroup('somegroup');
|
||||
await modelsUtils.deleteModel('withgroup');
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
describe('POST new entry', () => {
|
||||
test('Creating entry with JSON works', async () => {
|
||||
|
||||
@ -38,7 +38,7 @@ describe.each([
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteGroup('somegroup');
|
||||
await modelsUtils.deleteModel('withgroup');
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
describe('POST new entry', () => {
|
||||
test('Creating entry with JSON works', async () => {
|
||||
|
||||
@ -38,7 +38,7 @@ describe.each([
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteGroup('somegroup');
|
||||
await modelsUtils.deleteModel('withgroup');
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
describe('POST new entry', () => {
|
||||
test('Creating entry with JSON works', async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user