From 34309282940ea1652646cdf6ca3759f8c7d00694 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Wed, 15 Jun 2022 09:54:26 +0100 Subject: [PATCH] Convert InviteesTable test to RTL (#50674) --- .betterer.results | 3 - public/app/features/invites/InviteeRow.tsx | 8 +- .../features/invites/InviteesTable.test.tsx | 70 +++++-- public/app/features/invites/InviteesTable.tsx | 2 +- .../__snapshots__/InviteesTable.test.tsx.snap | 180 ------------------ 5 files changed, 57 insertions(+), 206 deletions(-) delete mode 100644 public/app/features/invites/__snapshots__/InviteesTable.test.tsx.snap diff --git a/.betterer.results b/.betterer.results index b0446b22725..e8f68744fd2 100644 --- a/.betterer.results +++ b/.betterer.results @@ -137,9 +137,6 @@ exports[`no enzyme tests`] = { "public/app/features/folders/FolderSettingsPage.test.tsx:1109052730": [ [0, 19, 13, "RegExp match", "2409514259"] ], - "public/app/features/invites/InviteesTable.test.tsx:3612992381": [ - [0, 19, 13, "RegExp match", "2409514259"] - ], "public/app/features/org/OrgDetailsPage.test.tsx:3835042085": [ [0, 19, 13, "RegExp match", "2409514259"] ], diff --git a/public/app/features/invites/InviteeRow.tsx b/public/app/features/invites/InviteeRow.tsx index 51425cee932..2b8193f1d17 100644 --- a/public/app/features/invites/InviteeRow.tsx +++ b/public/app/features/invites/InviteeRow.tsx @@ -32,7 +32,13 @@ class InviteeRow extends PureComponent {   -