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

1
dist/__tests__/index.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
declare function sumTest(): number;

7
dist/__tests__/index.js vendored Normal file
View File

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