Skip to content

Commit

Permalink
Feature/communication calling server preview (#18462)
Browse files Browse the repository at this point in the history
* Update apis based on new swagger.

* Add CallConnection live test.

* Update to latest version of 11-15 swagger.

* Change CallConnection from object to interface.

* Update Base64 decode encode method to fix test.

* Add comments for interface methods.

* Fix api.md warning. update apis, add comments, refactoring
downloadcontent class.

* Remove C-A apis params validation in SDK.

* Remove every optional element from the methods and include them in the options parameter in JS SDK

* update api.md

* Fix style check error.

* Fix style check error.

* clean up empty files.

* Update format and live test, let build pass.

* Fix call automation live test
  • Loading branch information
zihzhan-msft authored Nov 3, 2021
1 parent 4178ff5 commit 008b3be
Show file tree
Hide file tree
Showing 26 changed files with 917 additions and 767 deletions.
7 changes: 6 additions & 1 deletion sdk/communication/communication-callingserver/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ module.exports = function(config) {
// inject following environment values into browser testing with window.__env__
// environment values MUST be exported or set with same console running "karma start"
// https://www.npmjs.com/package/karma-env-preprocessor
envPreprocessor: ["TEST_MODE", "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING", "BASE_URL"],
envPreprocessor: [
"TEST_MODE",
"AZURE_PHONE_NUMBER",
"COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING",
"BASE_URL"
],

// test results reporter to use
// possible values: 'dots', 'progress'
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-callingserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"prebuild": "npm run clean",
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"test": "npm run clean && npm run build:test && npm run unit-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "mocha --reporter ../../../common/tools/mocha-multi-reporter.js dist-test/index.node.js",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 008b3be

Please sign in to comment.