diff --git a/src/e2e/layout.e2e.js b/src/e2e/layout.e2e.js index 3d95dc1d06db6acdcb4237ffc548b327de21d916..1a63261607eae623fb355bfd27539dbb18a7f29a 100644 --- a/src/e2e/layout.e2e.js +++ b/src/e2e/layout.e2e.js @@ -6,9 +6,6 @@ const BASE_URL = `http://localhost:${process.env.PORT || 8000}`; function formatter(data) { return data .reduce((pre, item) => { - if (item.routes) { - return pre.concat(formatter(item.routes)); - } pre.push(item.path); return pre; }, [])