added test for loading animation in Previews
This commit is contained in:
		@@ -56,6 +56,13 @@ describe('<Preview/>', function () {
 | 
				
			|||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    it('spinner loads correctly', function () {
 | 
				
			||||||
 | 
					        const wrapper = shallow(<Preview/>);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // expect load animation to be visible
 | 
				
			||||||
 | 
					        expect(wrapper.find(".loadAnimation")).toHaveLength(1);
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
describe('<TagPreview/>', function () {
 | 
					describe('<TagPreview/>', function () {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user