From 54dd0e29830f04c9055863fb0449ee4fc2ab0689 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Tue, 17 Apr 2018 16:51:09 -0400 Subject: these tests are on fireee but the bad kind --- .../__snapshots__/ResetRequest.test.js.snap | 230 +++++++++++++++++---- .../__snapshots__/SingleItem.test.js.snap | 97 +++++++-- 2 files changed, 271 insertions(+), 56 deletions(-) (limited to 'frontend/__tests__/__snapshots__') diff --git a/frontend/__tests__/__snapshots__/ResetRequest.test.js.snap b/frontend/__tests__/__snapshots__/ResetRequest.test.js.snap index ef7e9f9..66c4ff1 100644 --- a/frontend/__tests__/__snapshots__/ResetRequest.test.js.snap +++ b/frontend/__tests__/__snapshots__/ResetRequest.test.js.snap @@ -1,54 +1,200 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` displays errors 1`] = ` -
-

- Error!!! -

- - -
+
+ + +
+ + +
+ + + +
`; exports[` renders and matches snapshot 1`] = `
- - + +
+ + +
+ `; + +exports[` renders errors 1`] = ` + + +
+

+ + Shoot! + + Shit! + +

+
+
+
+`; diff --git a/frontend/__tests__/__snapshots__/SingleItem.test.js.snap b/frontend/__tests__/__snapshots__/SingleItem.test.js.snap index 173fb95..fd7e481 100644 --- a/frontend/__tests__/__snapshots__/SingleItem.test.js.snap +++ b/frontend/__tests__/__snapshots__/SingleItem.test.js.snap @@ -1,17 +1,86 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` renders 1`] = ` -
- Sneakers -

- Viewing - Sneakers -

-

- A cool set of shoes -

-
+exports[` Renders with Proper Data 1`] = ` +Array [ + +
+ + Quo quis molestiae +
+

+ Viewing + Quo quis molestiae +

+

+ Omnis porro porro quos nihil omnis reiciendis velit. Culpa deleniti qui reprehenderit in nisi et qui. Odio dolore veritatis eligendi in. +

+ + + Edit ✏️ + + +
+
+
, +
+ + Quo quis molestiae +
+

+ Viewing + Quo quis molestiae +

+

+ Omnis porro porro quos nihil omnis reiciendis velit. Culpa deleniti qui reprehenderit in nisi et qui. Odio dolore veritatis eligendi in. +

+ + + Edit ✏️ + + +
+
, +] `; -- cgit v1.3