Skip to content

Commit

Permalink
Correct ts ignore comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mehallhm committed Oct 23, 2024
1 parent bfcb203 commit f0177e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/general/twilio.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import notificationsManager from "../../services/notificationsManager";
describe("TwilioNotifyer", () => {
describe("checkVerificationCode", () => {
beforeAll(() => {
// @ts-expect-error - wrong type
twilioClient["verify"] = {
// @ts-expect-error - wrong type
services: () => {
return {
verificationChecks: {
Expand Down Expand Up @@ -117,8 +117,8 @@ describe("TwilioNotifyer", () => {

describe("sendVerificationCode", () => {
beforeAll(() => {
// @ts-expect-error - wrong type
twilioClient["verify"] = {
// @ts-expect-error - wrong type
services: () => {
return {
verifications: {
Expand Down Expand Up @@ -180,8 +180,8 @@ describe("TwilioNotifyer", () => {

describe("sendNotificationText", () => {
beforeAll(() => {
// @ts-expect-error - wrong type
twilioClient["messages"] = {
// @ts-expect-error - wrong type
create: jest.fn(async (args) => {
const err = new Error();
switch (args.to) {
Expand Down

0 comments on commit f0177e1

Please sign in to comment.