mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 09:47:28 +03:00
Fix ShortUrlForm test
This commit is contained in:
parent
f16f51a2b3
commit
30455864fa
1 changed files with 12 additions and 1 deletions
|
@ -17,7 +17,15 @@ describe('<ShortUrlForm />', () => {
|
|||
<ShortUrlForm
|
||||
mode={mode}
|
||||
saving={false}
|
||||
initialState={{ validateUrl: true, findIfExists: false, title, longUrl: '' }}
|
||||
initialState={{
|
||||
validateUrl: true,
|
||||
findIfExists: false,
|
||||
title,
|
||||
longUrl: '',
|
||||
customSlug: undefined,
|
||||
shortCodeLength: undefined,
|
||||
domain: undefined,
|
||||
}}
|
||||
onSave={createShortUrl}
|
||||
/>
|
||||
</FeaturesProvider>,
|
||||
|
@ -73,6 +81,9 @@ describe('<ShortUrlForm />', () => {
|
|||
maxVisits: 20,
|
||||
findIfExists: false,
|
||||
validateUrl: true,
|
||||
domain: undefined,
|
||||
shortCodeLength: undefined,
|
||||
customSlug: undefined,
|
||||
...extraExpectedValues,
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue