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:
@@ -10,7 +10,7 @@
|
||||
"createDefaultProgram": true
|
||||
},
|
||||
"rules": {
|
||||
"jsdoc/newline-after-description": "warn",
|
||||
"jsdoc/tag-lines": ["error", "any", {"startLines": 1}],
|
||||
"@typescript-eslint/naming-convention": "warn",
|
||||
"@typescript-eslint/consistent-type-assertions": "warn",
|
||||
"@typescript-eslint/prefer-for-of": "warn",
|
||||
|
@@ -1 +1 @@
|
||||
18.20.3
|
||||
20.18.1
|
||||
|
@@ -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