diff --git a/test/test.ts b/test/test.ts index adbbd1e..2b25a37 100644 --- a/test/test.ts +++ b/test/test.ts @@ -4,7 +4,7 @@ import * as smartmongo from '../ts/index'; let smartmongoInstance: smartmongo.SmartMongo; tap.test('should create a mongo instance', async () => { - smartmongoInstance = await smartmongo.SmartMongo.createAndInit(); + smartmongoInstance = await smartmongo.SmartMongo.createAndStart(); }); tap.test('should stop the instance', async () => {