Skip to content

Commit

Permalink
feat(metrics): fix test failure due to circular dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin committed Apr 15, 2024
1 parent ec6bf6e commit 4c0217c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/@webex/test-helper-mock-webex/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ function makeWebex(options) {
submitClientEvent: sinon.stub(),
callDiagnosticLatencies: {
saveTimestamp: sinon.stub(),
measureLatency: (callback) => callback(),
},
callDiagnosticMetrics: {
submitClientEvent: sinon.stub(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import {assert} from '@webex/test-helper-chai';
import sinon from 'sinon';
import WebexCore, {WebexPlugin, registerInternalPlugin} from '@webex/webex-core';
// TODO: fix circular dependency core->metrics->core https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-515520
require('@webex/internal-plugin-metrics');

describe('Webex', () => {
describe('#internal', () => {
Expand Down

0 comments on commit 4c0217c

Please sign in to comment.