Skip to content
Snippets Groups Projects
Select Git revision
  • test-fix-cache-issues
  • master default protected
  • add-action-params-in-backup
3 results

inc.sh

Blame
  • jest.config.js 567 B
    // For a detailed explanation regarding each configuration property, visit:
    // https://jestjs.io/docs/en/configuration.html
    
    module.exports = {
      // Automatically clear mock calls and instances between every test
      clearMocks: true,
    
      // The directory where Jest should output its coverage files
      coverageDirectory: 'coverage',
      setupFiles: [
        '<rootDir>/setupJest.js', 'jest-localstorage-mock', 'jest-canvas-mock',
      ],
      // Ignore Mirador code from jest transforms
      transformIgnorePatterns: [
        '<rootDir>/node_modules/(?!(mirador|manifesto.js))',
      ],
    };