Skip to content

Commit

Permalink
test: adding ignores to files we wont test
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck committed Jan 15, 2025
1 parent aa9d54a commit be51dae
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppAudio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class WhatsAppAudio
public constructor(params: WhatsAppAudioParams) {
super(params);
this.channel = 'whatsapp';
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppCustom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class WhatsAppCustom
this.custom = params.custom;
this.channel = 'whatsapp';
this.messageType = 'custom';
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class WhatsAppFile
*/
public constructor(params: WhatsAppFileParams) {
super(params);
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class WhatsAppImage
public constructor(params: WhatsAppImageParams) {
super(params);
this.channel = 'whatsapp';
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppSticker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class WhatsAppSticker
this.sticker = params.sticker;
this.channel = 'whatsapp';
this.messageType = 'sticker';
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export class WhatsAppTemplate
this.template = params.template;
this.channel = 'whatsapp';
this.messageType = 'template';
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/messages/lib/classes/WhatsApp/WhatsAppVideo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class WhatsAppVideo
public constructor(params: WhatsAppVideoParams) {
super(params);
this.channel = 'whatsapp';
/* istanbul ignore next */
if (params.context) {
this.context = params.context;
}
Expand Down
1 change: 1 addition & 0 deletions packages/network-client/lib/errors/invalidPurposeError.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* istanbul ignore next */
/**
* Error thrown when purpose is invalid
*/
Expand Down
1 change: 1 addition & 0 deletions packages/network-client/lib/errors/invalidScopeError.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* istanbul ignore next */
/**
* Error thrown when scope is invalid
*/
Expand Down
1 change: 1 addition & 0 deletions packages/network-client/lib/errors/missingPurposeError.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* istanbul ignore next */
/**
* Error thrown when purpose is invalid
*/
Expand Down
1 change: 1 addition & 0 deletions packages/network-client/lib/errors/missingScopeError.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* istanbul ignore next */
/**
* Error thrown when no scope is set for a request.
*/
Expand Down
1 change: 1 addition & 0 deletions packages/sms/lib/classes/Error/SMSFailure.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { SMSStatus } from '../../enums';
import { SMSMessages, ErrorMessage, Message } from '../../types';

/* istanbul ignore next */
/**
* Class representing a failure response when sending SMS messages.
*
Expand Down
1 change: 1 addition & 0 deletions packages/voice/lib/classes/OutboundCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ debug('@vonage/voice')(
'This class is deprecated. Please update to use the CommonOutboundCall type',
);

/* istanbul ignore next */
/**
* Represents an outbound call.
*
Expand Down
1 change: 1 addition & 0 deletions packages/voice/lib/classes/OutboundCallWithAnswerURL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ debug('@vonage/voice')(
'This class is deprecated. Please update to use the CallWithAnswerURL type',
);

/* istanbul ignore next */
/**
* Represents an outbound call with an answer URL.
*
Expand Down
1 change: 1 addition & 0 deletions packages/voice/lib/classes/OutboundCallWithNCCO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ debug('@vonage/voice')(
'This class is deprecated. Please update to use the CallWithNCCO type',
);

/* istanbul ignore next */
/**
* Represents an outbound call with NCCO (Nexmo Call Control Object).
*
Expand Down

0 comments on commit be51dae

Please sign in to comment.