Skip to content

Commit

Permalink
Merge branch 'ts' into react
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
#	TODO.md
#	cypress.json
#	package-lock.json
#	package.json
#	src/app/vendor.ts
#	tests/e2e/plugins/index.js
#	webpack.config.js
  • Loading branch information
CKGrafico committed Aug 5, 2019
2 parents 43bb98a + 9d2539b commit 0af4e43
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 19,686 deletions.
28 changes: 28 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
moduleFileExtensions: [
'js',
'jsx',
'json',
'ts',
'tsx'
],
transform: {
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
'^.+\\.tsx?$': 'ts-jest'
},
transformIgnorePatterns: [
'/node_modules/'
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
testMatch: [
'**/**/*.test.(js|jsx|ts|tsx)|**/tests/unit/specs/*.(js|jsx|ts|tsx)'
],
testURL: 'http://localhost/',
globals: {
'ts-jest': {
babelConfig: true
}
}
}
Loading

0 comments on commit 0af4e43

Please sign in to comment.