Add tests

This commit is contained in:
Tom Hu
2021-01-02 17:50:17 -05:00
parent 56353bc0f0
commit c0466185ef
6 changed files with 791 additions and 213 deletions
+8
View File
@@ -0,0 +1,8 @@
import { buildExec } from "./index";
test('no arguments', () => {
let { execArgs, filepath, fail_ci } = buildExec();
expect(execArgs).toEqual([]);
expect(filepath).toEqual('codecov.sh');
expect(fail_ci).toBeFalsy();
});