mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Port View node to react. Fixes #6637
This commit is contained in:
committed by
Akshay Joshi
parent
6d18842dd3
commit
d9cfbf592e
@@ -106,6 +106,15 @@ describe('EventTriggerSchema', ()=>{
|
||||
schemaObj.validate(state, setError);
|
||||
expect(setError).toHaveBeenCalledWith('eventfunname', 'Event trigger function cannot be empty.');
|
||||
|
||||
state.eventfunname = 'Test';
|
||||
schemaObj.validate(state, setError);
|
||||
expect(setError).toHaveBeenCalledWith('eventfunname', null);
|
||||
|
||||
state.service = 'Test';
|
||||
state.eventfunname = 'Test';
|
||||
schemaObj.validate(state, setError);
|
||||
expect(setError).toHaveBeenCalledWith('eventfunname', null);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user