Skip to content

Commit f3eae73

Browse files
committed
Added tags to tests
1 parent bf1dced commit f3eae73

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/api-test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ describe('EmailApi', function() {
1010

1111
beforeAll(async function() {
1212
api = new EmailApi(process.env.appSid, process.env.appKey, process.env.apiBaseUrl);
13+
var authUrl = process.env.authUrl;
14+
if (authUrl != null) api.configuration.authUrl = authUrl;
1315
folder = uuidv4();
1416
jasmine.DEFAULT_TIMEOUT_INTERVAL = 100000;
1517
await api.createFolder(new requests.CreateFolderRequest(folder, storage));
@@ -24,7 +26,7 @@ describe('EmailApi', function() {
2426
* This test checks that BaseObject.Type field filled automatically by SDK
2527
* and properly used in serialization and deserialization
2628
*/
27-
it('HierarchicalObject', async function() {
29+
it('HierarchicalObject #pipeline', async function() {
2830
var calendarFile = await createCalendar();
2931
var calendar = await api.getCalendar(new requests.GetCalendarRequest(calendarFile, folder, storage));
3032
expect(calendar.body.name).toBe('CALENDAR');
@@ -37,7 +39,7 @@ describe('EmailApi', function() {
3739
/**
3840
* Buffer support test
3941
*/
40-
it('FileTest', async function() {
42+
it('FileTest #pipeline', async function() {
4143
var calendarFile = await createCalendar();
4244
var path = folder + '/' + calendarFile;
4345
var downloaded = await api.downloadFile(new requests.DownloadFileRequest(path, storage));
@@ -56,7 +58,7 @@ describe('EmailApi', function() {
5658
* Contact format specified as Enum, but SDK represents it as an advanced type of string constants a string.
5759
* Test checks that value parsing works properly
5860
*/
59-
it('Contact format', async function() {
61+
it('Contact format #pipeline', async function() {
6062
for(var format of ['VCard', 'Msg']) {
6163
var extension = (format == 'Msg') ? '.msg' : '.vcf';
6264
var fileName = uuidv4() + extension;
@@ -77,7 +79,7 @@ describe('EmailApi', function() {
7779
* Checks that SDK and Backend do not change Date during processing.
7880
* In most cases developer should carefully serialize and deserialize Date
7981
*/
80-
it('Date', async function() {
82+
it('Date #pipeline', async function() {
8183
var startDate = getDate(undefined, 24);
8284
startDate.setMilliseconds(0);
8385
var calendarFile = await createCalendar(startDate);

0 commit comments

Comments
 (0)