mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 02:29:46 +01:00 
			
		
		
		
	fix: update path
This commit is contained in:
		@@ -3,12 +3,12 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
  rootDir: '../',
 | 
			
		||||
  transform: {
 | 
			
		||||
    '^.+\\.js?$': '<rootDir>/tests/jest-preprocess.js'
 | 
			
		||||
    '^.+\\.js?$': '<rootDir>/jest/jest-preprocess.js'
 | 
			
		||||
  },
 | 
			
		||||
  testMatch: ['**/__tests__/**/*.js', '**/?(*.)test.js'],
 | 
			
		||||
  moduleNameMapper: {
 | 
			
		||||
    '.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy',
 | 
			
		||||
    '.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/tests/__mocks__/fileMock.js'
 | 
			
		||||
    '.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/jest/__mocks__/fileMock.js'
 | 
			
		||||
  },
 | 
			
		||||
  testPathIgnorePatterns: ['node_modules', '.cache', 'public'],
 | 
			
		||||
  transformIgnorePatterns: [
 | 
			
		||||
@@ -18,5 +18,5 @@ module.exports = {
 | 
			
		||||
    __PATH_PREFIX__: ''
 | 
			
		||||
  },
 | 
			
		||||
  testURL: 'http://localhost/',
 | 
			
		||||
  setupFiles: ['<rootDir>/tests/loadershim.js']
 | 
			
		||||
  setupFiles: ['<rootDir>/jest/loadershim.js']
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user