mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-03 19:36:20 +00:00 
			
		
		
		
	Co-authored-by: christiancp100 <christian.capeans.perez@strapi.io> Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com> Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com> Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu> Co-authored-by: Ben Irvin <ben@innerdvations.com> Co-authored-by: Ben Irvin <innerdvations@users.noreply.github.com> Co-authored-by: Christian <christiancp100@gmail.com> Co-authored-by: Bassel Kanso <basselkanso82@gmail.com> Co-authored-by: Marco Autiero <marcoautiero@gmail.com> Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu> Co-authored-by: christiancp100 <christian.capeans.perez@strapi.io> Co-authored-by: Christian Capeans <christiancp100@gmail.com> Co-authored-by: Bassel <basselkanso82@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			599 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			599 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
'use strict';
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  setupFilesAfterEnv: [__dirname + '/test/setup/unit.setup.js'],
 | 
						|
  modulePathIgnorePatterns: ['.cache', 'dist'],
 | 
						|
  testPathIgnorePatterns: ['.testdata.js', '.test.utils.js', '.d.ts'],
 | 
						|
  testMatch: ['**/__tests__/**/*.{js,ts,jsx,tsx}'],
 | 
						|
  transform: {
 | 
						|
    '^.+\\.(t|j)sx?$': ['@swc/jest'],
 | 
						|
  },
 | 
						|
  // Use `jest-watch-typeahead` version 0.6.5. Newest version 1.0.0 does not support jest@26
 | 
						|
  // Reference: https://github.com/jest-community/jest-watch-typeahead/releases/tag/v1.0.0
 | 
						|
  watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
 | 
						|
};
 |