Philipp Muens 6189a63f37 Rename directory of Tests plugin
Rename the directory to be lowercased (so that the tests won't crash).
2016-05-25 07:31:55 +02:00

30 lines
557 B
JavaScript

'use strict';
class Tests {
constructor() {
this.commands = {
test: {
commands: {
integration: {
usage: 'Command for integration testing.',
lifecycleEvents: [
'logCommandsOnConsole',
],
},
},
},
};
this.hooks = {
'test:integration:logCommandsOnConsole': this.logCommandsOnConsole.bind(this),
};
}
logCommandsOnConsole() {
const output = this.commands;
console.log(JSON.stringify(output));
}
}
module.exports = Tests;