mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
One more attempt to fix jasmine test cases of ERD Tool.
This commit is contained in:
parent
02f9b72d3e
commit
9229156cf6
@ -12,7 +12,7 @@ describe('ERD Loader', ()=>{
|
|||||||
|
|
||||||
it('<Loader /> comp', ()=>{
|
it('<Loader /> comp', ()=>{
|
||||||
let loaderComp = shallow(<Loader />);
|
let loaderComp = shallow(<Loader />);
|
||||||
expect(loaderComp.isEmptyRender()).toBeTrue();
|
expect(loaderComp.isEmptyRender()).toBeTruthy();
|
||||||
|
|
||||||
loaderComp.setProps({message: 'test message'});
|
loaderComp.setProps({message: 'test message'});
|
||||||
expect(loaderComp.find('.pg-sp-text').text()).toBe('test message');
|
expect(loaderComp.find('.pg-sp-text').text()).toBe('test message');
|
||||||
|
Loading…
Reference in New Issue
Block a user