mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-16 07:51:46 +00:00
Fix test
This commit is contained in:
parent
c0466185ef
commit
e16afe2276
2 changed files with 1830 additions and 2 deletions
1820
codecov.sh
Normal file
1820
codecov.sh
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,16 @@
|
||||||
import { buildExec } from "./index";
|
import { buildExec } from "./index";
|
||||||
|
|
||||||
test('no arguments', () => {
|
test('no arguments', () => {
|
||||||
let { execArgs, filepath, fail_ci } = buildExec();
|
let { execArgs, options, filepath, fail_ci } = buildExec();
|
||||||
expect(execArgs).toEqual([]);
|
expect(execArgs).toEqual([
|
||||||
|
"codecov.sh",
|
||||||
|
"-n",
|
||||||
|
"",
|
||||||
|
"-F",
|
||||||
|
"",
|
||||||
|
"-Q",
|
||||||
|
"github-action"
|
||||||
|
]);
|
||||||
expect(filepath).toEqual('codecov.sh');
|
expect(filepath).toEqual('codecov.sh');
|
||||||
expect(fail_ci).toBeFalsy();
|
expect(fail_ci).toBeFalsy();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue