Created UserInterface test

This commit is contained in:
Alejandro Celaya
2021-02-16 19:31:16 +01:00
committed by Alejandro Celaya
parent 9dbf790cc8
commit 7f6c71e8d7
3 changed files with 49 additions and 2 deletions

View File

@@ -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);