mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix tests
This commit is contained in:
parent
94cd229ca6
commit
56bdd3d806
@ -38,7 +38,7 @@ describe.each([
|
||||
}, 60000);
|
||||
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteComponent('somecomponent');
|
||||
await modelsUtils.deleteComponent('default.somecomponent');
|
||||
await modelsUtils.deleteModel('withcomponent');
|
||||
}, 60000);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ describe.each([
|
||||
}, 60000);
|
||||
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteComponent('somecomponent');
|
||||
await modelsUtils.deleteComponent('default.somecomponent');
|
||||
await modelsUtils.deleteModel('withcomponent');
|
||||
}, 60000);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ describe.each([
|
||||
}, 60000);
|
||||
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteComponent('somecomponent');
|
||||
await modelsUtils.deleteComponent('default.somecomponent');
|
||||
await modelsUtils.deleteModel('withcomponent');
|
||||
}, 60000);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ describe.each([
|
||||
}, 60000);
|
||||
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteComponent('somecomponent');
|
||||
await modelsUtils.deleteComponent('default.somecomponent');
|
||||
await modelsUtils.deleteModel('withcomponent');
|
||||
}, 60000);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ describe.each([
|
||||
}, 60000);
|
||||
|
||||
afterAll(async () => {
|
||||
await modelsUtils.deleteComponent('somecomponent');
|
||||
await modelsUtils.deleteComponent('default.somecomponent');
|
||||
await modelsUtils.deleteModel('withcomponent');
|
||||
}, 60000);
|
||||
|
||||
|
||||
@ -118,6 +118,8 @@ function watchFileChanges({ dir, strapiInstance }) {
|
||||
'**/admin/**',
|
||||
'extensions/**/admin',
|
||||
'extensions/**/admin/**',
|
||||
'**/documentation',
|
||||
'**/documentation/**',
|
||||
'**/node_modules',
|
||||
'**/node_modules/**',
|
||||
'**/plugins.json',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user