added test for loading animation in Previews
This commit is contained in:
parent
37e5a1a51e
commit
63284da11e
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user