diff --git a/src/buildExec.test.ts b/src/buildExec.test.ts index 8f26a3033..41cfeca8b 100644 --- a/src/buildExec.test.ts +++ b/src/buildExec.test.ts @@ -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();