added commitMessage to test file

Signed-off-by: Shivam bisht <shvmbisht@gmail.com>
This commit is contained in:
Shivam bisht
2022-03-10 13:22:04 +05:30
parent 44766e8f67
commit 87b30f4efb
@@ -181,6 +181,7 @@ describe('publish:gitlab', () => {
remoteUrl: 'http://mockurl.git',
auth: { username: 'oauth2', password: 'tokenlols' },
logger: mockContext.logger,
commitMessage: 'initial commit',
gitAuthorInfo: {},
});
});
@@ -205,6 +206,7 @@ describe('publish:gitlab', () => {
remoteUrl: 'http://mockurl.git',
auth: { username: 'oauth2', password: 'tokenlols' },
logger: mockContext.logger,
commitMessage: 'initial commit',
gitAuthorInfo: {},
});
});
@@ -252,6 +254,7 @@ describe('publish:gitlab', () => {
auth: { username: 'oauth2', password: 'tokenlols' },
logger: mockContext.logger,
defaultBranch: 'master',
commitMessage: 'Test commit message',
gitAuthorInfo: { name: 'Test', email: 'example@example.com' },
});
});
@@ -294,10 +297,10 @@ describe('publish:gitlab', () => {
dir: mockContext.workspacePath,
remoteUrl: 'http://mockurl.git',
auth: { username: 'oauth2', password: 'tokenlols' },
logger: mockContext.logger,
defaultBranch: 'master',
commitMessage: 'Test commit message',
gitAuthorInfo: { email: undefined, name: undefined },
logger: mockContext.logger,
});
});