mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
Fix tests
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user