Skip to content

Commit

Permalink
fix(webex): fixing UT
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesari3008 committed Oct 16, 2023
1 parent 1600862 commit d5979bf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/webex/test/unit/spec/webex.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,23 @@

import {assert} from '@webex/test-helper-chai';
import Webex from 'webex';
import {version} from 'webex/package';

describe('webex', () => {
describe('Webex', () => {
describe('.version', () => {
it('exists', () => {
console.log('process env version: ', process.env.version);
assert.property(Webex, 'version');
console.log(Webex.version);
console.log(version);
assert.equal(Webex.version, "undefined");
assert.equal(Webex.version, String(process.env.version));
});
});

describe('#version', () => {
it('exists', () => {
const webex = new Webex();

console.log(webex.version);
console.log(version);
assert.property(webex, 'version');
assert.equal(webex.version, "undefined");
assert.equal(webex.version, String(process.env.version));
});
});

Expand Down

0 comments on commit d5979bf

Please sign in to comment.