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', () => {
|
test('no arguments', () => {
|
||||||
const {execArgs, filepath, failCi} = buildExec();
|
const {execArgs, filepath, failCi} = buildExec();
|
||||||
expect(execArgs).toEqual([
|
expect(execArgs.slice(0, -1)).toEqual([
|
||||||
'codecov.sh',
|
'codecov.sh',
|
||||||
'-n',
|
'-n',
|
||||||
'',
|
'',
|
||||||
@@ -10,6 +10,7 @@ test('no arguments', () => {
|
|||||||
'',
|
'',
|
||||||
'-Q',
|
'-Q',
|
||||||
'github-action',
|
'github-action',
|
||||||
|
'-C',
|
||||||
]);
|
]);
|
||||||
expect(filepath).toEqual('codecov.sh');
|
expect(filepath).toEqual('codecov.sh');
|
||||||
expect(failCi).toBeFalsy();
|
expect(failCi).toBeFalsy();
|
||||||
|
|||||||
Reference in New Issue
Block a user