mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +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 =
 | 
			
		||||
  '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], {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user