Commit d3bfc45
committed
Add Jest integration along with simple test case
As the project growths, it becomes harder to ensure that each commit
does not introduce regression. One way to have at least some guarantees
is to cover all code base with tests and run them on each PR.
This commit adds Jest (test runner) as well as a simple test to prove
it works and to set an example.1 parent 674b5df commit d3bfc45
File tree
5 files changed
+2297
-93
lines changed- tests
5 files changed
+2297
-93
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments