mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-27 03:10:27 +00:00
* Expose Draftail package as global variable for reuse * Expose Wagtail React components for reuse * Expose Draftail-related React components for reuse
49 lines
884 B
JavaScript
49 lines
884 B
JavaScript
import {
|
|
Button,
|
|
Icon,
|
|
PublicationStatus,
|
|
LoadingSpinner,
|
|
Portal,
|
|
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 Portal', () => {
|
|
expect(Portal).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();
|
|
});
|
|
});
|