From 52a43d0c24a791dc532d6e7ef4008378c21ce2e5 Mon Sep 17 00:00:00 2001 From: Will Liu Date: Tue, 21 May 2024 14:30:13 -0400 Subject: [PATCH] fix --- .../__tests__/controllers/api/v4/fills-controller.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indexer/services/comlink/__tests__/controllers/api/v4/fills-controller.test.ts b/indexer/services/comlink/__tests__/controllers/api/v4/fills-controller.test.ts index e7184cd2c5..0b492ee5ea 100644 --- a/indexer/services/comlink/__tests__/controllers/api/v4/fills-controller.test.ts +++ b/indexer/services/comlink/__tests__/controllers/api/v4/fills-controller.test.ts @@ -185,14 +185,14 @@ describe('fills-controller#V4', () => { // in descending order. expect(response.body.fills).toHaveLength(2); expect(response.body.fills).toEqual( - expect.arrayContaining([ + [ expect.objectContaining({ ...expected[0], }), expect.objectContaining({ ...expected[1], }), - ]), + ], ); response = await sendRequest({ @@ -203,14 +203,14 @@ describe('fills-controller#V4', () => { // Page is specified, so fills should be sorted by eventId in ascending order. expect(response.body.fills).toHaveLength(2); expect(response.body.fills).toEqual( - expect.arrayContaining([ + [ expect.objectContaining({ ...expected[1], }), expect.objectContaining({ ...expected[0], }), - ]), + ], ); });