Skip to content

Instantly share code, notes, and snippets.

@BlakeWilliams
Created March 14, 2019 16:18
Show Gist options
  • Save BlakeWilliams/04dc260834e21d4284f9a6952a345cbf to your computer and use it in GitHub Desktop.
Save BlakeWilliams/04dc260834e21d4284f9a6952a345cbf to your computer and use it in GitHub Desktop.
module.exports = {
setupTestFrameworkScriptFile: '<rootDir>/setup.ts',
roots: ['<rootDir>/src'],
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment