From 949a7875cdb2d2be212b6dc99a447eb2e32e6bb0 Mon Sep 17 00:00:00 2001 From: Austin DeNoble <119623786+austin-denoble@users.noreply.github.com> Date: Thu, 20 Jul 2023 08:59:57 -0400 Subject: [PATCH] MM-47091 : Migrate "components/integrations/abstract_outgoing_webhook.jsx" and tests to TypeScript (#23977) --- ...> abstract_outgoing_webhook.test.tsx.snap} | 47 +++-- .../abstract_incoming_hook.test.tsx | 9 +- .../abstract_incoming_webhook.tsx | 6 +- .../abstract_outgoing_webhook.test.jsx | 42 ---- .../abstract_outgoing_webhook.test.tsx | 165 +++++++++++++++ ...hook.jsx => abstract_outgoing_webhook.tsx} | 192 ++++++++++-------- .../add_outgoing_webhook.tsx | 2 +- .../edit_outgoing_webhook.tsx | 2 +- 8 files changed, 309 insertions(+), 156 deletions(-) rename webapp/channels/src/components/integrations/__snapshots__/{abstract_outgoing_webhook.test.jsx.snap => abstract_outgoing_webhook.test.tsx.snap} (92%) delete mode 100644 webapp/channels/src/components/integrations/abstract_outgoing_webhook.test.jsx create mode 100644 webapp/channels/src/components/integrations/abstract_outgoing_webhook.test.tsx rename webapp/channels/src/components/integrations/{abstract_outgoing_webhook.jsx => abstract_outgoing_webhook.tsx} (84%) diff --git a/webapp/channels/src/components/integrations/__snapshots__/abstract_outgoing_webhook.test.jsx.snap b/webapp/channels/src/components/integrations/__snapshots__/abstract_outgoing_webhook.test.tsx.snap similarity index 92% rename from webapp/channels/src/components/integrations/__snapshots__/abstract_outgoing_webhook.test.jsx.snap rename to webapp/channels/src/components/integrations/__snapshots__/abstract_outgoing_webhook.test.tsx.snap index bba972e9de..ad4cdbde38 100644 --- a/webapp/channels/src/components/integrations/__snapshots__/abstract_outgoing_webhook.test.jsx.snap +++ b/webapp/channels/src/components/integrations/__snapshots__/abstract_outgoing_webhook.test.tsx.snap @@ -6,7 +6,7 @@ exports[`components/integrations/AbstractOutgoingWebhook should match snapshot 1 >