mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 12:07:25 +00:00
16 lines
325 B
TypeScript
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();
|
|
});
|