From fb01cbbf3c7f817a1b368a8daa60767af4d44995 Mon Sep 17 00:00:00 2001 From: fredrondina Date: Mon, 15 May 2023 15:25:00 -0500 Subject: [PATCH] update any_approver assertion to use toStrictEqual --- lib/modules/platform/gitlab/index.spec.ts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/modules/platform/gitlab/index.spec.ts b/lib/modules/platform/gitlab/index.spec.ts index 4dea5276551561..500e7ccb6b8603 100644 --- a/lib/modules/platform/gitlab/index.spec.ts +++ b/lib/modules/platform/gitlab/index.spec.ts @@ -1761,15 +1761,13 @@ describe('modules/platform/gitlab/index', () => { gitLabIgnoreApprovals: true, }, }) - ).toMatchInlineSnapshot(` - { - "id": 1, - "iid": 12345, - "number": 12345, - "sourceBranch": "some-branch", - "title": "some title", - } - `); + ).toStrictEqual({ + id: 1, + iid: 12345, + number: 12345, + sourceBranch: 'some-branch', + title: 'some title', + }); }); it('does not try to create already existing approval rule', async () => {