mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
Fix tests
This commit is contained in:
parent
6a50e6841d
commit
71a6279758
1 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import buildExec from './buildExec';
|
|||
|
||||
test('no arguments', () => {
|
||||
const {execArgs, filepath, failCi} = buildExec();
|
||||
expect(execArgs).toEqual([
|
||||
expect(execArgs.slice(0, -1)).toEqual([
|
||||
'codecov.sh',
|
||||
'-n',
|
||||
'',
|
||||
|
|
@ -10,6 +10,7 @@ test('no arguments', () => {
|
|||
'',
|
||||
'-Q',
|
||||
'github-action',
|
||||
'-C',
|
||||
]);
|
||||
expect(filepath).toEqual('codecov.sh');
|
||||
expect(failCi).toBeFalsy();
|
||||
|
|
|
|||
Loading…
Reference in a new issue