Merge pull request #15577 from strapi/fix/remove-detect-open-handles

Remove --detectOpenHandles from "api" tests
This commit is contained in:
Fabien del Carmen 2023-01-26 12:21:30 +01:00 committed by GitHub
commit 0bc46be074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,10 +42,7 @@ const databases = {
},
};
const jestCmd =
'jest --config jest.config.api.js --verbose --runInBand --forceExit --detectOpenHandles'.split(
' '
);
const jestCmd = 'jest --config jest.config.api.js --verbose --runInBand --forceExit'.split(' ');
const runAllTests = async (args) => {
return execa('yarn', [...jestCmd, ...args], {