updated jest __tests__

This commit is contained in:
2020-09-19 08:04:43 +07:00
parent 5e29994ed9
commit 0f9bc1fb8a
15 changed files with 171 additions and 4 deletions

7
src/__tests__/index.ts Normal file
View File

@@ -0,0 +1,7 @@
function sumTest() {
return 1 + 4;
}
test(`test sum with 1 + 4 -> 5`, () => {
expect(1 + 4).toBe(5);
});