Skip to content

Commit

Permalink
update test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
promer94 committed Jul 22, 2023
1 parent 4b12fb9 commit 8b2b75f
Showing 1 changed file with 108 additions and 0 deletions.
108 changes: 108 additions & 0 deletions test/use-swr-refresh.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ describe('useSWR - refresh', () => {
undefined,
undefined,
],
[
undefined,
undefined,
],
[
undefined,
{
Expand Down Expand Up @@ -358,6 +362,46 @@ describe('useSWR - refresh', () => {
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
]
`)

Expand All @@ -369,6 +413,10 @@ describe('useSWR - refresh', () => {
undefined,
undefined,
],
[
undefined,
undefined,
],
[
undefined,
{
Expand Down Expand Up @@ -437,6 +485,46 @@ describe('useSWR - refresh', () => {
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
"version": "1.0",
},
{
"timestamp": 1,
"version": "1.0",
},
],
[
{
"timestamp": 1,
Expand Down Expand Up @@ -497,6 +585,26 @@ describe('useSWR - refresh', () => {
"version": "1.0",
},
],
[
{
"timestamp": 2,
"version": "1.0",
},
{
"timestamp": 2,
"version": "1.0",
},
],
[
{
"timestamp": 2,
"version": "1.0",
},
{
"timestamp": 2,
"version": "1.0",
},
],
]
`)
})
Expand Down

0 comments on commit 8b2b75f

Please sign in to comment.