mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-22 14:36:22 +00:00
Updated to airbnb coding styles
This commit is contained in:
@@ -32,11 +32,11 @@ describe('<MainHeader />', () => {
|
||||
});
|
||||
|
||||
it.each([
|
||||
[ '/foo', false ],
|
||||
[ '/bar', false ],
|
||||
[ '/settings', true ],
|
||||
[ '/settings/foo', true ],
|
||||
[ '/settings/bar', true ],
|
||||
['/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