Created new section to manage servers

This commit is contained in:
Alejandro Celaya
2021-10-17 19:13:06 +02:00
parent 002f280364
commit 7f4263966e
19 changed files with 249 additions and 61 deletions

View File

@@ -11,7 +11,16 @@ describe('<App />', () => {
const ShlinkVersions = () => null;
beforeEach(() => {
const App = appFactory(MainHeader, () => null, () => null, () => null, () => null, () => null, ShlinkVersions);
const App = appFactory(
MainHeader,
() => null,
() => null,
() => null,
() => null,
() => null,
() => null,
ShlinkVersions,
);
wrapper = shallow(
<App
@@ -36,6 +45,7 @@ describe('<App />', () => {
const expectedPaths = [
'/',
'/settings',
'/manage-servers',
'/server/create',
'/server/:serverId/edit',
'/server/:serverId',