mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-19 13:06:22 +00:00
Fixed tests
This commit is contained in:
@@ -35,6 +35,8 @@ describe('<MainHeader />', () => {
|
||||
[ '/foo', false ],
|
||||
[ '/bar', false ],
|
||||
[ '/settings', true ],
|
||||
[ '/settings/foo', true ],
|
||||
[ '/settings/bar', true ],
|
||||
])('sets link to settings as active only when current path is settings', (currentPath, isActive) => {
|
||||
const wrapper = createWrapper(currentPath);
|
||||
const settingsLink = wrapper.find(NavLink);
|
||||
|
||||
Reference in New Issue
Block a user