Skip to content

Commit

Permalink
Added first tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Feb 4, 2018
1 parent 0def3c6 commit ee2a026
Show file tree
Hide file tree
Showing 5 changed files with 3,248 additions and 65 deletions.
9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
setupFiles: ['./test/setup.ts'],
transform: {
'^.+\\.(ts|tsx?)$': './node_modules/ts-jest/preprocessor.js',
},
snapshotSerializers: ['enzyme-to-json/serializer'],
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
};
Loading

0 comments on commit ee2a026

Please sign in to comment.