jest.config.js 512 B

12345678910
  1. module.exports = {
  2. moduleFileExtensions: ['js', 'jsx'],
  3. moduleDirectories: ['node_modules', 'desktop/core/src/desktop/js'],
  4. modulePaths: ['desktop/core/src/desktop/js'],
  5. testMatch: ['<rootDir>/desktop/core/src/desktop/js/**/*.test.(js|jsx|ts|tsx)'],
  6. testEnvironment: 'jest-environment-jsdom-fourteen',
  7. testURL: 'https://www.gethue.com/hue',
  8. setupFilesAfterEnv: ['<rootDir>/desktop/core/src/desktop/js/jest/jest.init.js'],
  9. watchPathIgnorePatterns: ['<rootDir>/desktop/core/src/desktop/static']
  10. };