mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-07 16:57:27 +03:00
Fixed coding styles
This commit is contained in:
parent
def5afc5ee
commit
e5986ac6cf
1 changed files with 2 additions and 1 deletions
|
@ -17,10 +17,11 @@ describe('<App />', () => {
|
|||
it('renders app main routes', () => {
|
||||
const routes = wrapper.find(Route);
|
||||
const expectedRoutesCount = 3;
|
||||
const second = 2;
|
||||
|
||||
expect(routes).toHaveLength(expectedRoutesCount);
|
||||
expect(routes.at(0).prop('path')).toEqual('/server/create');
|
||||
expect(routes.at(1).prop('path')).toEqual('/');
|
||||
expect(routes.at(2).prop('path')).toEqual('/server/:serverId');
|
||||
expect(routes.at(second).prop('path')).toEqual('/server/:serverId');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue