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:
Vito Albano
2024-12-18 11:14:52 +00:00
committed by GitHub
parent dd44e492b7
commit 872fb16b62
144 changed files with 5267 additions and 6842 deletions

View File

@@ -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);
}