mirror of
https://github.com/codecov/codecov-action
synced 2026-09-07 20:03:43 +00:00
17 lines
325 B
TypeScript
17 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();
|
|
});
|