Add typescript tests

This commit is contained in:
maxswa
2019-06-14 10:46:07 -04:00
parent a7cbafa582
commit 554ada0140
2 changed files with 97 additions and 0 deletions

7
jestconfig.json Normal file
View File

@@ -0,0 +1,7 @@
{
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
}