mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -185,7 +185,7 @@ describe('WidgetVisibilityService', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('should retrive the process variables', () => {
|
||||
describe('should retrieve the process variables', () => {
|
||||
let fakeFormWithField = new FormModel(fakeFormJson);
|
||||
let visibilityObjTest: WidgetVisibilityModel;
|
||||
let chainedVisibilityObj = new WidgetVisibilityModel();
|
||||
@@ -528,7 +528,7 @@ describe('WidgetVisibilityService', () => {
|
||||
});
|
||||
|
||||
it('should return undefined for not existing form variable', () => {
|
||||
let varValue = service.getVariableValue(fakeForm, 'MISTERY_FORM_VARIABLE', null);
|
||||
let varValue = service.getVariableValue(fakeForm, 'MYSTERY_FORM_VARIABLE', null);
|
||||
|
||||
expect(varValue).toBeUndefined();
|
||||
});
|
||||
|
Reference in New Issue
Block a user