From 5beacedde4074761a56015198da9187069949ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 14 Nov 2018 16:52:30 +0800 Subject: [PATCH] less test router number --- src/e2e/layout.e2e.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/e2e/layout.e2e.js b/src/e2e/layout.e2e.js index 3d95dc1d..1a632616 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; }, []) -- GitLab