From 13d76a0cb2cd08357b7667020410e4615732aabd Mon Sep 17 00:00:00 2001 From: n1aba Date: Fri, 18 Aug 2017 14:06:32 -0500 Subject: PLT-6451 Migrate installed_oauth_app.jsx to be pure and use Redux (#7190) * Migrate installed_oauth_app.jsx to be pure and use Redux, add test * Fix behavior for the error case --- .../installed_oauth_app.test.jsx.snap | 155 +++++++++++++++++++++ .../installed_oauth_apps.test.jsx.snap | 2 + 2 files changed, 157 insertions(+) create mode 100644 webapp/tests/components/integrations/__snapshots__/installed_oauth_app.test.jsx.snap (limited to 'webapp/tests/components/integrations/__snapshots__') diff --git a/webapp/tests/components/integrations/__snapshots__/installed_oauth_app.test.jsx.snap b/webapp/tests/components/integrations/__snapshots__/installed_oauth_app.test.jsx.snap new file mode 100644 index 000000000..f4e8fb464 --- /dev/null +++ b/webapp/tests/components/integrations/__snapshots__/installed_oauth_app.test.jsx.snap @@ -0,0 +1,155 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`components/integrations/InstalledOAuthApp should filter out OAuthApp 1`] = `null`; + +exports[`components/integrations/InstalledOAuthApp should match snapshot 1`] = ` +
+
+ +
+
+
+ + testApp + +
+
+ + testing + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+ + + + - + + + + - + +
+
+`; diff --git a/webapp/tests/components/integrations/__snapshots__/installed_oauth_apps.test.jsx.snap b/webapp/tests/components/integrations/__snapshots__/installed_oauth_apps.test.jsx.snap index 022bc1476..c6ef12112 100644 --- a/webapp/tests/components/integrations/__snapshots__/installed_oauth_apps.test.jsx.snap +++ b/webapp/tests/components/integrations/__snapshots__/installed_oauth_apps.test.jsx.snap @@ -72,6 +72,7 @@ exports[`components/integrations/InstalledOAuthApps should match snapshot 1`] = } } onDelete={[Function]} + onRegenerateSecret={[Function]} /> `; -- cgit v1.2.3-1-g7c22