Skip to content

Commit

Permalink
update any_approver assertion to use toStrictEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrondina committed May 15, 2023
1 parent 375e148 commit fb01cbb
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions lib/modules/platform/gitlab/index.spec.ts
Expand Up @@ -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 () => {
Expand Down

0 comments on commit fb01cbb

Please sign in to comment.