mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-20 05:26:20 +00:00
Removed no longer needed constants
This commit is contained in:
@@ -16,9 +16,8 @@ describe('<AsideMenu />', () => {
|
||||
|
||||
it('contains links to different sections', () => {
|
||||
const links = wrapped.find(NavLink);
|
||||
const expectedLength = 3;
|
||||
|
||||
expect(links).toHaveLength(expectedLength);
|
||||
expect(links).toHaveLength(3);
|
||||
links.forEach((link) => expect(link.prop('to')).toContain('abc123'));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user