mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-13 02:53:47 +00:00
Created UserInterface test
This commit is contained in:
committed by
Alejandro Celaya
parent
9dbf790cc8
commit
7f6c71e8d7
@@ -25,7 +25,7 @@ describe('<ShortUrlCreation />', () => {
|
||||
[{ validateUrls: true }, true ],
|
||||
[{ validateUrls: false }, false ],
|
||||
[ undefined, false ],
|
||||
])('switch is toggled if option is tru', (shortUrlCreation, expectedChecked) => {
|
||||
])('switch is toggled if option is true', (shortUrlCreation, expectedChecked) => {
|
||||
const wrapper = createWrapper(shortUrlCreation);
|
||||
const toggle = wrapper.find(ToggleSwitch);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user