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