UNPKG

rerumaccusamus

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

15 lines (12 loc) 410 B
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.setup(); expect(hooks.beforeRestart).toBeDefined(); }); });