mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-29 22:23:46 +00:00
feat: override local git user config
This commit is contained in:
parent
22bec0c537
commit
ee692c3db4
16 changed files with 182 additions and 73 deletions
|
@ -12,6 +12,6 @@ export const resetProcessArgs = () => {
|
|||
export const spyGetInput = (obj: any) => {
|
||||
const mock = jest.spyOn(core, "getInput");
|
||||
mock.mockImplementation((name: string) : string => {
|
||||
return obj[name];
|
||||
return obj[name] ?? "";
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue