Commit bea6d356 authored by nanahira's avatar nanahira

clean

parent aab01e37
...@@ -3,5 +3,6 @@ export * from './src/register'; ...@@ -3,5 +3,6 @@ export * from './src/register';
export * from './src/decorators'; export * from './src/decorators';
export * from './src/cosmotype-exports'; export * from './src/cosmotype-exports';
export * from './src/base-plugin'; export * from './src/base-plugin';
export * from './src/multi-plugin';
export * from './src/def/interfaces'; export * from './src/def/interfaces';
export * from 'schemastery-gen'; export * from 'schemastery-gen';
...@@ -44,8 +44,6 @@ class Outer extends MultiInstancePlugin(Inner, OuterMessageConfig) { ...@@ -44,8 +44,6 @@ class Outer extends MultiInstancePlugin(Inner, OuterMessageConfig) {
describe('It should register multi plugin instance', () => { describe('It should register multi plugin instance', () => {
it('register command on condition', async () => { it('register command on condition', async () => {
const app = new App(); const app = new App();
console.log(Inner['Config']);
console.log(Outer['Config']);
app.plugin(Outer, { msg: 'hello', instances: [{ msg: 'world' }] }); app.plugin(Outer, { msg: 'hello', instances: [{ msg: 'world' }] });
await app.start(); await app.start();
const innerCommand = app.command('message'); const innerCommand = app.command('message');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment