mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Cleanup after tests
This commit is contained in:
parent
4dcb694a57
commit
59b283ebae
@ -22,9 +22,9 @@ describe('Test type groups', () => {
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
// afterAll(async () => {
|
||||
// await modelsUtils.deleteGroup('somegroup');
|
||||
// });
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteGroup('somegroup');
|
||||
});
|
||||
|
||||
describe('Non repeatable and Non required group', () => {
|
||||
beforeAll(async () => {
|
||||
@ -35,9 +35,9 @@ describe('Test type groups', () => {
|
||||
});
|
||||
}, 60000);
|
||||
|
||||
// afterAll(async () => {
|
||||
// await modelsUtils.deleteModel('withgroup');
|
||||
// }, 60000);
|
||||
afterAll(async () => {
|
||||
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