Skip to content

Commit

Permalink
fix: tests for from and to
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh00710 committed May 19, 2024
1 parent 5156b91 commit 930f0c3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions __test__/fakeInputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ export let fakeQueryStringRes = [
hide_title: false,
area: false,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -121,6 +123,8 @@ export let fakeQueryStringRes = [
hide_title: false,
area: false,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -138,6 +142,8 @@ export let fakeQueryStringRes = [
hide_title: false,
area: false,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -155,6 +161,8 @@ export let fakeQueryStringRes = [
hide_title: false,
area: false,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -172,6 +180,8 @@ export let fakeQueryStringRes = [
hide_title: false,
area: false,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -189,6 +199,8 @@ export let fakeQueryStringRes = [
hide_title: false,
area: true,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -206,6 +218,8 @@ export let fakeQueryStringRes = [
area: true,
hide_title: false,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -223,6 +237,8 @@ export let fakeQueryStringRes = [
area: true,
hide_title: true,
days: 31,
from: '',
to: '',
},
{
username: 'githubusername',
Expand All @@ -241,6 +257,8 @@ export let fakeQueryStringRes = [
hide_title: false,
custom_title: 'some title',
days: 31,
from: '',
to: '',
},
];

Expand Down

0 comments on commit 930f0c3

Please sign in to comment.