mirror of
https://github.com/strapi/strapi.git
synced 2025-11-15 09:39:15 +00:00
Cleanup after tests
This commit is contained in:
parent
4dcb694a57
commit
59b283ebae
@ -22,9 +22,9 @@ describe('Test type groups', () => {
|
|||||||
});
|
});
|
||||||
}, 60000);
|
}, 60000);
|
||||||
|
|
||||||
// afterAll(async () => {
|
afterAll(async () => {
|
||||||
// await modelsUtils.deleteGroup('somegroup');
|
await modelsUtils.deleteGroup('somegroup');
|
||||||
// });
|
});
|
||||||
|
|
||||||
describe('Non repeatable and Non required group', () => {
|
describe('Non repeatable and Non required group', () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
@ -35,9 +35,9 @@ describe('Test type groups', () => {
|
|||||||
});
|
});
|
||||||
}, 60000);
|
}, 60000);
|
||||||
|
|
||||||
// afterAll(async () => {
|
afterAll(async () => {
|
||||||
// await modelsUtils.deleteModel('withgroup');
|
await modelsUtils.deleteModel('withgroup');
|
||||||
// }, 60000);
|
}, 60000);
|
||||||
|
|
||||||
describe('POST new entry', () => {
|
describe('POST new entry', () => {
|
||||||
test('Creating entry with JSON works', async () => {
|
test('Creating entry with JSON works', async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user