Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Commit

Permalink
Add jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ylv-io committed Jul 16, 2019
1 parent b4cc518 commit 38522e7
Show file tree
Hide file tree
Showing 10 changed files with 4,301 additions and 344 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
printWidth: 120,
tabWidth: 2,
};
11 changes: 11 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
roots: ['<rootDir>/src'],
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
globals: {
'ts-jest': {
diagnostics: true,
},
},
};
Loading

0 comments on commit 38522e7

Please sign in to comment.