Update buildExec.test.ts

This commit is contained in:
Mitchell Borrego 2022-07-26 02:22:33 -04:00
parent 0db74381c5
commit 0abb23f56a
No known key found for this signature in database
GPG key ID: BE864F77C8CFBB4C

View file

@ -141,13 +141,13 @@ describe('trim arguments after splitting them', () => {
const {execArgs} = buildExec(); const {execArgs} = buildExec();
expect(execArgs).toEqual( expect(execArgs).toEqual(
expect.arrayContaining([ expect.arrayContaining([
...baseExpectation, ...baseExpectation,
'-f', '-f',
'./client-coverage.txt', './client-coverage.txt',
'-f', '-f',
'./lcov.info', './lcov.info',
]), ]),
); );
for (const env of Object.keys(envs)) { for (const env of Object.keys(envs)) {
@ -165,13 +165,13 @@ describe('trim arguments after splitting them', () => {
const {execArgs} = buildExec(); const {execArgs} = buildExec();
expect(execArgs).toEqual( expect(execArgs).toEqual(
expect.arrayContaining([ expect.arrayContaining([
...baseExpectation, ...baseExpectation,
'-F', '-F',
'ios', 'ios',
'-F', '-F',
'mobile', 'mobile',
]), ]),
); );
for (const env of Object.keys(envs)) { for (const env of Object.keys(envs)) {
@ -189,13 +189,13 @@ describe('trim arguments after splitting them', () => {
const {execArgs} = buildExec(); const {execArgs} = buildExec();
expect(execArgs).toEqual( expect(execArgs).toEqual(
expect.arrayContaining([ expect.arrayContaining([
...baseExpectation, ...baseExpectation,
'-X', '-X',
'network', 'network',
'-X', '-X',
'gcov', 'gcov',
]), ]),
); );
for (const env of Object.keys(envs)) { for (const env of Object.keys(envs)) {