Skip to content

Commit

Permalink
[communication] add some tnm tests (#11628)
Browse files Browse the repository at this point in the history
* add some tnm tests

* .

* fix test

* sanitize recordings
  • Loading branch information
0rland0Wats0n authored Oct 5, 2020
1 parent c487b59 commit 6b2bc1a
Show file tree
Hide file tree
Showing 38 changed files with 1,957 additions and 107 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 1.0.0-beta.2 (Unreleased)

Added support for phone number administration.

## 1.0.0-beta.1 (2020-09-22)

Expand Down
9 changes: 5 additions & 4 deletions sdk/communication/communication-administration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ const { primaryAreaCodes } = await client.getAreaCodes(
{
locationType: "selection",
countryCode: "US",
phonePlanId: "phonePlanId"
},
{ locationOptions }
phonePlanId: "phonePlanId",
locationOptionsQueries
}
);
```

Expand All @@ -198,7 +198,8 @@ const { searchId } = await client.createSearch({
name: "Phone number search 800",
description: "Search for 800 phone numbers"
phonePlanIds: ["phone-plan-id-1"],
areaCode: "800"
areaCode: "800",
quantity: 1
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ 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_CONNECTION_STRING"],
envPreprocessor: ["TEST_MODE", "COMMUNICATION_CONNECTION_STRING", "INCLUDE_PHONENUMBER_TESTS"],

// test results reporter to use
// possible values: 'dots', 'progress'
Expand Down

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

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

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

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

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

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

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

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

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

Large diffs are not rendered by default.

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

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

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

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

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

Loading

0 comments on commit 6b2bc1a

Please sign in to comment.