fix(test and dependencies): Corrected cloudlyUrl in test.apiclient and updated tapbundle dependency.

This commit is contained in:
2024-11-06 17:19:43 +01:00
parent 26490e8ddd
commit 1f12cb9f94
6 changed files with 22 additions and 116 deletions

View File

@@ -33,7 +33,7 @@ tap.preTask('should create a new machine user for testing', async () => {
tap.test('should create a new cloudlyApiClient', async () => {
testClient = new cloudlyApiClient.CloudlyApiClient({
registerAs: 'api',
cloudlyUrl: `http://127.0.0.1:${helpers.testCloudlyConfig.publicPort}`,
cloudlyUrl: `http://${helpers.testCloudlyConfig.publicUrl}:${helpers.testCloudlyConfig.publicPort}`,
});
await testClient.start();
expect(testClient).toBeTruthy();