@webex/internal-plugin-metrics 3.0.0-next.6 → 3.0.0-next.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/metrics.js CHANGED
@@ -167,7 +167,7 @@ var Metrics = _webexCore.WebexPlugin.extend({
167
167
  });
168
168
  });
169
169
  },
170
- version: "3.0.0-next.6"
170
+ version: "3.0.0-next.8"
171
171
  });
172
172
  var _default = exports.default = Metrics;
173
173
  //# sourceMappingURL=metrics.js.map
package/package.json CHANGED
@@ -26,23 +26,23 @@
26
26
  "@webex/eslint-config-legacy": "0.0.0",
27
27
  "@webex/jest-config-legacy": "0.0.0",
28
28
  "@webex/legacy-tools": "0.0.0",
29
- "@webex/test-helper-chai": "3.0.0-next.6",
30
- "@webex/test-helper-mocha": "3.0.0-next.6",
31
- "@webex/test-helper-mock-webex": "3.0.0-next.6",
32
- "@webex/test-helper-test-users": "3.0.0-next.6",
29
+ "@webex/test-helper-chai": "3.0.0-next.8",
30
+ "@webex/test-helper-mocha": "3.0.0-next.8",
31
+ "@webex/test-helper-mock-webex": "3.0.0-next.8",
32
+ "@webex/test-helper-test-users": "3.0.0-next.8",
33
33
  "eslint": "^8.24.0",
34
34
  "prettier": "^2.7.1",
35
35
  "sinon": "^9.2.4"
36
36
  },
37
37
  "dependencies": {
38
- "@webex/common": "3.0.0-next.6",
39
- "@webex/common-timers": "3.0.0-next.6",
38
+ "@webex/common": "3.0.0-next.8",
39
+ "@webex/common-timers": "3.0.0-next.8",
40
40
  "@webex/event-dictionary-ts": "^1.0.1401",
41
- "@webex/internal-plugin-device": "3.0.0-next.6",
42
- "@webex/internal-plugin-metrics": "3.0.0-next.6",
43
- "@webex/test-helper-chai": "3.0.0-next.6",
44
- "@webex/test-helper-mock-webex": "3.0.0-next.6",
45
- "@webex/webex-core": "3.0.0-next.6",
41
+ "@webex/internal-plugin-device": "3.0.0-next.8",
42
+ "@webex/internal-plugin-metrics": "3.0.0-next.8",
43
+ "@webex/test-helper-chai": "3.0.0-next.8",
44
+ "@webex/test-helper-mock-webex": "3.0.0-next.8",
45
+ "@webex/webex-core": "3.0.0-next.8",
46
46
  "ip-anonymize": "^0.1.0",
47
47
  "lodash": "^4.17.21",
48
48
  "uuid": "^3.3.2"
@@ -55,5 +55,5 @@
55
55
  "test:style": "eslint ./src/**/*.*",
56
56
  "test:unit": "webex-legacy-tools test --unit --runner mocha"
57
57
  },
58
- "version": "3.0.0-next.6"
58
+ "version": "3.0.0-next.8"
59
59
  }
@@ -361,9 +361,8 @@ describe('plugin-metrics', () => {
361
361
  });
362
362
  });
363
363
 
364
- //TODO: The following two skipped tests needs investigation: https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-485382
365
364
  describe('when the request fails', () => {
366
- it.skip('does not clear the queue', async () => {
365
+ it('does not clear the queue', async () => {
367
366
  // avoid setting .sent timestamp
368
367
  webex.internal.newMetrics.callDiagnosticMetrics.callDiagnosticEventsBatcher.prepareRequest =
369
368
  (q) => Promise.resolve(q);
@@ -410,7 +409,7 @@ describe('plugin-metrics', () => {
410
409
  });
411
410
 
412
411
  describe('prepareItem', () => {
413
- it.skip('calls prepareDiagnosticMetricItem correctly', async () => {
412
+ it('calls prepareDiagnosticMetricItem correctly', async () => {
414
413
  // avoid setting .sent timestamp
415
414
  webex.internal.newMetrics.callDiagnosticMetrics.callDiagnosticEventsBatcher.prepareRequest =
416
415
  (q) => Promise.resolve(q);
@@ -721,7 +721,7 @@ describe('internal-plugin-metrics', () => {
721
721
  ]);
722
722
  });
723
723
 
724
- it('should submit client event successfully with correlationId, webexConferenceIdStr and globalMeetingId', async () => {
724
+ it('should submit client event successfully with correlationId, webexConferenceIdStr and globalMeetingId', () => {
725
725
  const prepareDiagnosticEventSpy = sinon.spy(cd, 'prepareDiagnosticEvent');
726
726
  const submitToCallDiagnosticsSpy = sinon.spy(cd, 'submitToCallDiagnostics');
727
727
  const generateClientEventErrorPayloadSpy = sinon.spy(cd, 'generateClientEventErrorPayload');