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