1) Fixed 'Material-UI: You are providing a disabled button child to the Tooltip' 2) Fixed InputToggle value issue. 3) Fixed jasmine test for Language. 4) Remove unused code from the view node.

This commit is contained in:
Akshay Joshi
2021-07-28 17:46:46 +05:30
parent 09db3ddd5c
commit eb48765a5a
4 changed files with 10 additions and 9 deletions

View File

@@ -114,10 +114,13 @@ describe('LanguageSchema', ()=>{
let state = {};
let setError = jasmine.createSpy('setError');
state.lanproc = null;
state.lanproc = '';
schemaObj.validate(state, setError);
expect(setError).toHaveBeenCalledWith('lanproc', 'Handler function cannot be empty.');
state.lanproc = 'my_len';
schemaObj.validate(state, setError);
expect(setError).toHaveBeenCalledWith('lanproc', null);
});
});