Fix tests

This commit is contained in:
Alexandre Bodin 2019-10-29 18:39:25 +01:00
parent 94cd229ca6
commit 56bdd3d806
6 changed files with 7 additions and 5 deletions

View File

@ -38,7 +38,7 @@ describe.each([
}, 60000);
afterAll(async () => {
await modelsUtils.deleteComponent('somecomponent');
await modelsUtils.deleteComponent('default.somecomponent');
await modelsUtils.deleteModel('withcomponent');
}, 60000);

View File

@ -36,7 +36,7 @@ describe.each([
}, 60000);
afterAll(async () => {
await modelsUtils.deleteComponent('somecomponent');
await modelsUtils.deleteComponent('default.somecomponent');
await modelsUtils.deleteModel('withcomponent');
}, 60000);

View File

@ -36,7 +36,7 @@ describe.each([
}, 60000);
afterAll(async () => {
await modelsUtils.deleteComponent('somecomponent');
await modelsUtils.deleteComponent('default.somecomponent');
await modelsUtils.deleteModel('withcomponent');
}, 60000);

View File

@ -36,7 +36,7 @@ describe.each([
}, 60000);
afterAll(async () => {
await modelsUtils.deleteComponent('somecomponent');
await modelsUtils.deleteComponent('default.somecomponent');
await modelsUtils.deleteModel('withcomponent');
}, 60000);

View File

@ -36,7 +36,7 @@ describe.each([
}, 60000);
afterAll(async () => {
await modelsUtils.deleteComponent('somecomponent');
await modelsUtils.deleteComponent('default.somecomponent');
await modelsUtils.deleteModel('withcomponent');
}, 60000);

View File

@ -118,6 +118,8 @@ function watchFileChanges({ dir, strapiInstance }) {
'**/admin/**',
'extensions/**/admin',
'extensions/**/admin/**',
'**/documentation',
'**/documentation/**',
'**/node_modules',
'**/node_modules/**',
'**/plugins.json',