test: fix load test

This commit is contained in:
endiliey 2018-08-11 14:22:50 +08:00
parent 15ce4a95e2
commit 0f28b6f311
9 changed files with 213 additions and 76 deletions

View file

@ -7,8 +7,8 @@ async function genRoutesConfig({docsData = [], pagesData = []}) {
{
path: ${JSON.stringify(docsPath)},
exact: true,
component: () => (
<Docs>
component: (props) => (
<Docs {...props}>
<${componentName} />
</Docs>
)