Commit 5beacedd authored by 陈帅's avatar 陈帅

less test router number

parent c4d503f6
......@@ -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;
}, [])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment