summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/__snapshots__/Nav.test.js.snap
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-02 14:45:20 -0400
committerWes Bos <wesbos@gmail.com>2018-05-02 14:45:20 -0400
commitf02a5dc73ac4a14c1d641a6ddbfcd2f1bd2ea0b5 (patch)
tree514905bb030cb87fbbb686034f49e94b67b88853 /frontend/__tests__/__snapshots__/Nav.test.js.snap
parentae6b07bce815a2dd21741a696eccc64c81587ef4 (diff)
TESTS
Diffstat (limited to 'frontend/__tests__/__snapshots__/Nav.test.js.snap')
-rw-r--r--frontend/__tests__/__snapshots__/Nav.test.js.snap64
1 files changed, 17 insertions, 47 deletions
diff --git a/frontend/__tests__/__snapshots__/Nav.test.js.snap b/frontend/__tests__/__snapshots__/Nav.test.js.snap
index d8520ac..f084308 100644
--- a/frontend/__tests__/__snapshots__/Nav.test.js.snap
+++ b/frontend/__tests__/__snapshots__/Nav.test.js.snap
@@ -1,69 +1,39 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<Nav></Nav> Renders minimal nav when logged out 1`] = `
-<styled.ul>
+<ul
+ className="sc-htpNat jQXYY"
+ data-test="nav"
+>
<Link
href="/items"
- prefetch={true}
>
- <a>
+ <a
+ href="/items"
+ onClick={[Function]}
+ >
Shop
</a>
</Link>
<Link
href="/add"
- prefetch={true}
>
- <a>
+ <a
+ href="/add"
+ onClick={[Function]}
+ >
Sell
</a>
</Link>
<Link
href="/signup"
- prefetch={true}
>
- <a>
+ <a
+ href="/signup"
+ onClick={[Function]}
+ >
Sign In
</a>
</Link>
-</styled.ul>
-`;
-
-exports[`<Nav></Nav> renders full nav when logged in 1`] = `
-<styled.ul>
- <Link
- href="/items"
- prefetch={true}
- >
- <a>
- Shop
- </a>
- </Link>
- <Link
- href="/add"
- prefetch={true}
- >
- <a>
- Sell
- </a>
- </Link>
- <React.Fragment>
- <Link
- href="/orders"
- >
- <a>
- Orders
- </a>
- </Link>
- <Link
- href="/me"
- >
- <a>
- My Account
- </a>
- </Link>
- <Apollo(Signout) />
- <[object Object] />
- </React.Fragment>
-</styled.ul>
+</ul>
`;