mirror of
https://github.com/strapi/strapi.git
synced 2025-11-11 15:49:50 +00:00
Merge pull request #15577 from strapi/fix/remove-detect-open-handles
Remove --detectOpenHandles from "api" tests
This commit is contained in:
commit
0bc46be074
@ -42,10 +42,7 @@ const databases = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const jestCmd =
|
const jestCmd = 'jest --config jest.config.api.js --verbose --runInBand --forceExit'.split(' ');
|
||||||
'jest --config jest.config.api.js --verbose --runInBand --forceExit --detectOpenHandles'.split(
|
|
||||||
' '
|
|
||||||
);
|
|
||||||
|
|
||||||
const runAllTests = async (args) => {
|
const runAllTests = async (args) => {
|
||||||
return execa('yarn', [...jestCmd, ...args], {
|
return execa('yarn', [...jestCmd, ...args], {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user