We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e9ea48 commit da1c10aCopy full SHA for da1c10a
test/loading/index-spec.js
@@ -38,5 +38,11 @@ describe('Test', () => {
38
const wrapper2 = mount(<Loading tip="hello world" visible={false}/>);
39
assert(!wrapper2.find('.next-loading').hasClass('next-open'));
40
});
41
+ it('should support inline', () => {
42
+ const wrapper = mount(<Loading tip="hello world"/>);
43
+ assert(wrapper.find('.next-loading').hasClass('next-loading-inline'));
44
+ const wrapper2 = mount(<Loading tip="hello world" inline={false}/>);
45
+ assert(!wrapper2.find('.next-loading').hasClass('next-loading-inline'));
46
+ });
47
48
0 commit comments