Skip to content

Commit

Permalink
fix: authorization browser test to only run in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3528 committed Apr 17, 2024
1 parent 8d13c60 commit 6fc86d9
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2,518 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ docs/samples/webex.min.js.map
patches.hash
bundle.js.map
webex-server
junit.xml
3 changes: 0 additions & 3 deletions dependency-graph.dot

This file was deleted.

2,507 changes: 0 additions & 2,507 deletions junit.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ describe('internal-plugin-metrics', () => {
);
});
});
<<<<<<< HEAD
<<<<<<< HEAD

describe('new-metrics contstructor', () => {
it('checks callDiagnosticLatencies is defined before ready emit', () => {
Expand All @@ -52,10 +50,6 @@ describe('internal-plugin-metrics', () => {
});
});

=======
>>>>>>> 4e69f66d96 (feat: added all test file)
=======
>>>>>>> 19a747f21a (feat: added all test file)
describe('new-metrics', () => {
let webex;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('media-helpers', () => {
className: LocalMicrophoneStream,
title: 'LocalMicrophoneStream',
event: LocalMicrophoneStreamEventNames,
createFn: createMicrophoneStream,g
createFn: createMicrophoneStream,
spyFn: 'createMicrophoneStream',
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import url from 'url';

import {assert} from '@webex/test-helper-chai';
import {browserOnly} from '@webex/test-helper-mocha';
import sinon from 'sinon';
import MockWebex from '@webex/test-helper-mock-webex';
import {Credentials, Services} from '@webex/webex-core';
Expand All @@ -19,7 +20,7 @@ import Authorization from '@webex/plugin-authorization-browser-first-party';
const lodash = require('lodash');


describe('plugin-authorization-browser-first-party', () => {
browserOnly(describe)('plugin-authorization-browser', () => {
describe('Authorization', () => {
function makeWebex(
href = 'https://example.com',
Expand Down

0 comments on commit 6fc86d9

Please sign in to comment.