Skip to content

Commit

Permalink
Add skeleton for SMS updated e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Jan 20, 2025
1 parent 5e27fb1 commit 7247c1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/sms/tests/rest/v1/callbacks/webhooks-events.steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ When('I send a request to trigger an "incoming SMS" event', async () => {
await processEvent(response);
});

Then('the header of the event {string} contains a valid signature', () => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Then('the header of the event {string} contains a valid signature', (_eventName: string) => {
assert.ok(true);
});

Expand Down Expand Up @@ -62,7 +63,8 @@ When('I send a request to trigger an "SMS recipient delivery report" event with
await processEvent(response);
});

Then('the header of the event "DeliveryReport" with the status {string} contains a valid signature', () => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars,max-len
Then('the header of the event "DeliveryReport" with the status {string} contains a valid signature', (_statusName: string) => {
assert.ok(true);
});

Expand Down

0 comments on commit 7247c1e

Please sign in to comment.