fix(core): update

This commit is contained in:
2021-12-20 17:06:42 +01:00
parent 9d12338630
commit e5a02a014a
2 changed files with 9 additions and 2 deletions

View File

@@ -6,11 +6,10 @@ import * as smarts3 from '../ts/index';
let testSmarts3Instance: smarts3.Smarts3;
tap.test('should create a smarts3 instance and run it', async toolsArg => {
testSmarts3Instance = new smarts3.Smarts3({
testSmarts3Instance = await smarts3.Smarts3.createAndStart({
port: 3000,
cleanSlate: true,
});
await testSmarts3Instance.start();
console.log(`Let the instance run for 2 seconds`);
await toolsArg.delayFor(2000);
});