fix(testing): Fixed Cloudly testing setup and dependencies

This commit is contained in:
2024-11-06 03:56:46 +01:00
parent da0dddcceb
commit 15ea5adec6
9 changed files with 505 additions and 192 deletions

View File

@@ -14,8 +14,10 @@ tap.test('should init cloudly', async () => {
});
tap.test('should end the service', async (tools) => {
await tools.delayFor(5000);
await helpers.stopCloudly();
await testCloudly.stop();
tools.delayFor(1000).then(() => process.exit())
tools.delayFor(1000).then(() => process.exit());
});
tap.start();