add a import test

This commit is contained in:
Jiiks 2018-02-13 18:26:20 +02:00
parent ebeae46991
commit 8984be5c3e
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ module.exports = (Plugin, Api, Vendor) => {
Events.subscribe('TEST_EVENT', this.eventTest);
Logger.log('onStart');
Logger.log(`Setting "default-0" value: ${this.getSetting('default-0')}`);
const exampleModule = new (Api.import('Example Module'));
Logger.log(`2+4=${exampleModule.add(2, 4)}`);
return true;
}