quasqui
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
15 lines (12 loc) • 416 B
text/typescript
import { createApp, createPlugin, useRuntimeContext } from '../src';
import plugin from '../src/cli';
describe('plugin-runtime', () => {
it('default', () => {
expect(plugin).toBeDefined();
expect(createApp).toBeDefined();
expect(createPlugin).toBeDefined();
expect(useRuntimeContext).toBeDefined();
const hooks = plugin.initializer();
expect(hooks.beforeRestart).toBeDefined();
});
});