Use toMatchObject instead of toEqual

This commit is contained in:
Mitchell Borrego 2022-07-26 02:04:35 -04:00
parent 31e29e4799
commit 800a9b3e3d
No known key found for this signature in database
GPG key ID: BE864F77C8CFBB4C

View file

@ -140,7 +140,7 @@ describe('trim arguments after splitting them', () => {
const {execArgs} = buildExec();
expect(execArgs).toEqual([
expect(execArgs).toMatchObject([
...baseExpectation,
'-f',
'./client-coverage.txt',
@ -162,7 +162,7 @@ describe('trim arguments after splitting them', () => {
const {execArgs} = buildExec();
expect(execArgs).toEqual([
expect(execArgs).toMatchObject([
...baseExpectation,
'-F',
'ios',
@ -184,7 +184,7 @@ describe('trim arguments after splitting them', () => {
const {execArgs} = buildExec();
expect(execArgs).toEqual([
expect(execArgs).toMatchObject([
...baseExpectation,
'-X',
'network',