Fix tests

This commit is contained in:
Tom Hu
2021-03-08 18:46:53 -05:00
parent 6a50e6841d
commit 71a6279758

View File

@@ -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();