codecov-action/src/index.test.ts
2021-01-02 17:53:08 -05:00

16 lines
325 B
TypeScript

import { buildExec } from "./index";
test('no arguments', () => {
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();
});