added test for loading animation in Previews
This commit is contained in:
1 parent
37e5a1a51e
commit
63284da11e
1 file changed
+7
@@ -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 () {
|
||||
|
||||
Reference in new issue
Block a user