Skip to content

Commit bf29027

Browse files
committed
chore: improve build process, run tests on jest
1 parent c70c41f commit bf29027

14 files changed

+3044
-2138
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ jspm_packages
4040

4141
# Webstorm
4242
.idea
43-
build/
43+
dist/
4444
typings/

index.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

jestconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"transform": {
3+
"^.+\\.(t|j)sx?$": "ts-jest"
4+
},
5+
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
6+
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
7+
"collectCoverage": true,
8+
"coverageDirectory": "coverage"
9+
}

karma.conf.js

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)