|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`react router react router 3 1`] = `
|
|
|
|
<Breadcrumb
|
|
|
|
params={
|
|
|
|
Object {
|
|
|
|
"id": 1,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
routes={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Home",
|
|
|
|
"childRoutes": Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Application List",
|
|
|
|
"childRoutes": Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Application:id",
|
|
|
|
"childRoutes": Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Detail",
|
|
|
|
"name": "detail",
|
|
|
|
"path": "detail",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"name": "app",
|
|
|
|
"path": ":id",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"name": "apps",
|
|
|
|
"path": "apps",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"name": "home",
|
|
|
|
"path": "/",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Application List",
|
|
|
|
"childRoutes": Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Application:id",
|
|
|
|
"childRoutes": Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Detail",
|
|
|
|
"name": "detail",
|
|
|
|
"path": "detail",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"name": "app",
|
|
|
|
"path": ":id",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"name": "apps",
|
|
|
|
"path": "apps",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Application:id",
|
|
|
|
"childRoutes": Array [
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Detail",
|
|
|
|
"name": "detail",
|
|
|
|
"path": "detail",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"name": "app",
|
|
|
|
"path": ":id",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"breadcrumbName": "Detail",
|
|
|
|
"name": "detail",
|
|
|
|
"path": "detail",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="ant-breadcrumb"
|
|
|
|
>
|
|
|
|
<BreadcrumbItem
|
|
|
|
key="Home"
|
|
|
|
separator="/"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-link"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="#/"
|
|
|
|
>
|
|
|
|
Home
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-separator"
|
|
|
|
>
|
|
|
|
/
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</BreadcrumbItem>
|
|
|
|
<BreadcrumbItem
|
|
|
|
key="apps"
|
|
|
|
separator="/"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-link"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="#/apps"
|
|
|
|
>
|
|
|
|
Application List
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-separator"
|
|
|
|
>
|
|
|
|
/
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</BreadcrumbItem>
|
|
|
|
<BreadcrumbItem
|
|
|
|
key="1"
|
|
|
|
separator="/"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-link"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="#/apps/1"
|
|
|
|
>
|
|
|
|
Application1
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-separator"
|
|
|
|
>
|
|
|
|
/
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</BreadcrumbItem>
|
|
|
|
<BreadcrumbItem
|
|
|
|
key="detail"
|
|
|
|
separator="/"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-link"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Detail
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
className="ant-breadcrumb-separator"
|
|
|
|
>
|
|
|
|
/
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</BreadcrumbItem>
|
|
|
|
</div>
|
|
|
|
</Breadcrumb>
|
|
|
|
`;
|