mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-03 23:00:38 +00:00
44 lines
806 B
JavaScript
44 lines
806 B
JavaScript
import {
|
|
Button,
|
|
Icon,
|
|
PublicationStatus,
|
|
LoadingSpinner,
|
|
Transition,
|
|
Explorer,
|
|
ExplorerToggle,
|
|
initExplorer,
|
|
} from './index';
|
|
|
|
describe('wagtail package API', () => {
|
|
it('has Button', () => {
|
|
expect(Button).toBeDefined();
|
|
});
|
|
|
|
it('has Icon', () => {
|
|
expect(Icon).toBeDefined();
|
|
});
|
|
|
|
it('has PublicationStatus', () => {
|
|
expect(PublicationStatus).toBeDefined();
|
|
});
|
|
|
|
it('has LoadingSpinner', () => {
|
|
expect(LoadingSpinner).toBeDefined();
|
|
});
|
|
|
|
it('has Transition', () => {
|
|
expect(Transition).toBeDefined();
|
|
});
|
|
|
|
it('has Explorer', () => {
|
|
expect(Explorer).toBeDefined();
|
|
});
|
|
|
|
it('has ExplorerToggle', () => {
|
|
expect(ExplorerToggle).toBeDefined();
|
|
});
|
|
|
|
it('has initExplorer', () => {
|
|
expect(initExplorer).toBeDefined();
|
|
});
|
|
});
|