mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-30 06:33:47 +00:00
feat(issue-32): override reviewers and assignees
This commit is contained in:
parent
ee692c3db4
commit
0d369dd612
18 changed files with 499 additions and 44 deletions
|
@ -14,4 +14,14 @@ export const spyGetInput = (obj: any) => {
|
|||
mock.mockImplementation((name: string) : string => {
|
||||
return obj[name] ?? "";
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Check array equality performing sort on both sides.
|
||||
* DO NOT USE this if ordering matters
|
||||
* @param actual
|
||||
* @param expected
|
||||
*/
|
||||
export const expectArrayEqual = (actual: unknown[], expected: unknown[]) => {
|
||||
expect(actual.sort()).toEqual(expected.sort());
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue