fix(core): update
This commit is contained in:
@ -8,4 +8,13 @@ tap.test('should create an instance of smartdaemon', async () => {
|
||||
expect(testSmartdaemon).to.be.instanceOf(smartdaemon.SmartDaemon);
|
||||
});
|
||||
|
||||
tap.test('should create a service', async () => {
|
||||
testSmartdaemon.addService({
|
||||
command: 'npm -v',
|
||||
description: 'displays the npm version',
|
||||
name: 'npmversion',
|
||||
workingDir: __dirname
|
||||
});
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user