This commit is contained in:
Tom Hu
2021-01-02 17:53:08 -05:00
parent c0466185ef
commit e16afe2276
2 changed files with 1830 additions and 2 deletions

1820
codecov.sh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,16 @@
import { buildExec } from "./index";
test('no arguments', () => {
let { execArgs, filepath, fail_ci } = buildExec();
expect(execArgs).toEqual([]);
let { execArgs, options, filepath, fail_ci } = buildExec();
expect(execArgs).toEqual([
"codecov.sh",
"-n",
"",
"-F",
"",
"-Q",
"github-action"
]);
expect(filepath).toEqual('codecov.sh');
expect(fail_ci).toBeFalsy();
});