diff --git a/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap b/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap new file mode 100644 index 0000000000..feaed14345 --- /dev/null +++ b/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap @@ -0,0 +1,170 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`react router react router 3 1`] = ` + +
+ + + + + Home + + + + / + + + + + + + + Application List + + + + / + + + + + + + + Application1 + + + + / + + + + + + + + Detail + + + + / + + + +
+
+`; diff --git a/components/breadcrumb/__tests__/router.test.js b/components/breadcrumb/__tests__/router.test.js index 907670e548..b745f5c125 100644 --- a/components/breadcrumb/__tests__/router.test.js +++ b/components/breadcrumb/__tests__/router.test.js @@ -1,15 +1,15 @@ import React from 'react'; import { Route, Switch, Link, withRouter, MemoryRouter } from 'react-router-dom'; -import { Breadcrumb } from 'antd'; +import Breadcrumb from '../index'; import { mount } from 'enzyme'; const Apps = () => ( -