mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
Fix test
This commit is contained in:
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";
|
||||
|
||||
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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user