diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-08 13:00:51 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-08 13:00:51 -0400 |
| commit | ad3671675719eb11a81245bffbe0fb18880b479b (patch) | |
| tree | 561db1323073a22969bef7c5aa4db4a7fe2ad0ed /frontend/__tests__/__snapshots__/Pagination.test.js.snap | |
| parent | c9a2b488c83dcaae0a00d2177d3bfe1f185c28bf (diff) | |
omg
Diffstat (limited to 'frontend/__tests__/__snapshots__/Pagination.test.js.snap')
| -rw-r--r-- | frontend/__tests__/__snapshots__/Pagination.test.js.snap | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/frontend/__tests__/__snapshots__/Pagination.test.js.snap b/frontend/__tests__/__snapshots__/Pagination.test.js.snap index 34fc655..2ecd98a 100644 --- a/frontend/__tests__/__snapshots__/Pagination.test.js.snap +++ b/frontend/__tests__/__snapshots__/Pagination.test.js.snap @@ -1,7 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`<Pagination/> renders pagination for 18 items 1`] = ` -<styled.div> +exports[`<Pagination/> displays loading message 1`] = ` +<div + className="sc-bdVaJa ijYKGd" + data-test="pagination" +> <Link href={ Object { @@ -11,11 +14,12 @@ exports[`<Pagination/> renders pagination for 18 items 1`] = ` }, } } - prefetch={true} > <a aria-disabled={true} className="prev" + href="items?page=0" + onClick={[Function]} > ←Prev </a> @@ -30,12 +34,12 @@ exports[`<Pagination/> renders pagination for 18 items 1`] = ` <strong className="totalPages" > - 2 + 1 </strong> </p> <p> <strong> - 18 + 1 </strong> Items Total </p> @@ -48,14 +52,15 @@ exports[`<Pagination/> renders pagination for 18 items 1`] = ` }, } } - prefetch={true} > <a - aria-disabled={false} + aria-disabled={true} className="next" + href="items?page=2" + onClick={[Function]} > Next → </a> </Link> -</styled.div> +</div> `; |
