Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-gupta7 committed Dec 30, 2024
1 parent a7e25e3 commit 2867b53
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ describe('GitlabTokenStorage', () => {
})
));

const userCommitMessage = 'Initial Commit';

await storageProvider.write([
{
type: 'metadata',
Expand Down Expand Up @@ -453,14 +455,14 @@ describe('GitlabTokenStorage', () => {
},
},
], {
commitMessage: 'Initial commit',
commitMessage: userCommitMessage,
storeTokenIdInJsonEditor: true,
});

expect(mockCreateCommits).toHaveBeenCalledWith(
35102363,
'main',
'Initial commit',
userCommitMessage,
[
{
action: 'create',
Expand Down

0 comments on commit 2867b53

Please sign in to comment.