From 6bf583c6d19c0d22761448b4dc1782b52294baa8 Mon Sep 17 00:00:00 2001 From: nicolau Date: Mon, 27 May 2024 15:33:44 -0300 Subject: [PATCH] =?UTF-8?q?test:=20=F0=9F=9A=A8=20deactivating=20client=20?= =?UTF-8?q?tests=20until=20meta=20validates=20my=20account?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __tests__/utils.ts | 6 +++--- jest.config.js | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/__tests__/utils.ts b/__tests__/utils.ts index 34cc4f6..290b07e 100644 --- a/__tests__/utils.ts +++ b/__tests__/utils.ts @@ -40,7 +40,7 @@ export const webhookBodyFields: { type: "text", from: "", id: "32", - timestamp: 21, + timestamp: "21", text: { body: "Hi", }, @@ -49,7 +49,7 @@ export const webhookBodyFields: { type: "audio", from: "", id: "32", - timestamp: 21, + timestamp: "21", text: { body: "Hi", }, @@ -70,7 +70,7 @@ export const webhookBodyFields: { biz_opaque_callback_data: "", recipient_id: "", status: "read", - timestamp: 465, + timestamp: "465", }, error: { code: 2, title: "ERR", message: "ERR", error_data: { details: "" } }, }; diff --git a/jest.config.js b/jest.config.js index faf3625..ecedb2f 100644 --- a/jest.config.js +++ b/jest.config.js @@ -20,4 +20,6 @@ module.exports = { transform: { "^.+\\.(ts|tsx)$": "ts-jest", }, + modulePathIgnorePatterns: ["dist/"], + testPathIgnorePatterns: ["__tests__/client.test.ts"], };