소스 검색

less test router number

陈帅 7 년 전
부모
커밋
5beacedde4
1개의 변경된 파일과 0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      src/e2e/layout.e2e.js

+ 0 - 3
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;
     }, [])