mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-29442 moving to node 20.18.1 (#10500)
* AAE-0000 - moving to node 20.18.1 * AAE-29442 Adjusted to the new eslint rule
This commit is contained in:
@@ -35,9 +35,7 @@ describe('FormUtilsService', () => {
|
||||
*/
|
||||
function testRestUrlVariablesMap(restUrl: string, inputBody: { [key: string]: any }, expected: { [key: string]: any }) {
|
||||
const formModel = new FormModel({ variables });
|
||||
spyOn(formModel, 'getProcessVariableValue').and.callFake((name) => {
|
||||
return variables.find((variable) => variable.name === name)?.value;
|
||||
});
|
||||
spyOn(formModel, 'getProcessVariableValue').and.callFake((name) => variables.find((variable) => variable.name === name)?.value);
|
||||
const result = service.getRestUrlVariablesMap(formModel, restUrl, inputBody);
|
||||
expect(result).toEqual(expected);
|
||||
}
|
||||
|
Reference in New Issue
Block a user