From cae067528514e98f4721a2723d27261d4762cece Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Fri, 14 Aug 2020 09:24:41 +0800 Subject: [PATCH] test: update breadcrumb snap --- .../__snapshots__/Breadcrumb.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 32 ++++--------------- 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/components/breadcrumb/__tests__/__snapshots__/Breadcrumb.test.js.snap b/components/breadcrumb/__tests__/__snapshots__/Breadcrumb.test.js.snap index e29d7e1e2..cfc921ec2 100644 --- a/components/breadcrumb/__tests__/__snapshots__/Breadcrumb.test.js.snap +++ b/components/breadcrumb/__tests__/__snapshots__/Breadcrumb.test.js.snap @@ -4,6 +4,6 @@ exports[`Breadcrumb should allow Breadcrumb.Item is null or undefined 1`] = `/xxx/yyy/`; -exports[`Breadcrumb should render a menu 1`] = `
home/first/second/
`; +exports[`Breadcrumb should render a menu 1`] = `
home/first/second/
`; exports[`Breadcrumb should support custom attribute 1`] = `
xxx/yyy/
`; diff --git a/components/breadcrumb/__tests__/__snapshots__/demo.test.js.snap b/components/breadcrumb/__tests__/__snapshots__/demo.test.js.snap index a16e95709..1f1dfb6b9 100644 --- a/components/breadcrumb/__tests__/__snapshots__/demo.test.js.snap +++ b/components/breadcrumb/__tests__/__snapshots__/demo.test.js.snap @@ -1,34 +1,14 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders ./antdv-demo/docs/breadcrumb/demo/basic.md correctly 1`] = ``; +exports[`renders ./antdv-demo/docs/breadcrumb/demo/basic.md correctly 1`] = ``; -exports[`renders ./antdv-demo/docs/breadcrumb/demo/overlay.md correctly 1`] = `
Ant Design Vue/Component/General /Button/
`; +exports[`renders ./antdv-demo/docs/breadcrumb/demo/overlay.md correctly 1`] = `
Ant Design Vue/Component/General/Button/
`; exports[`renders ./antdv-demo/docs/breadcrumb/demo/separator.md correctly 1`] = ` -
- - -
+ + `; -exports[`renders ./antdv-demo/docs/breadcrumb/demo/separator-indepent.md correctly 1`] = ` - -`; +exports[`renders ./antdv-demo/docs/breadcrumb/demo/separator-indepent.md correctly 1`] = ``; -exports[`renders ./antdv-demo/docs/breadcrumb/demo/withIcon.md correctly 1`] = ` -
/ Application List/ - Application - /
-`; +exports[`renders ./antdv-demo/docs/breadcrumb/demo/withIcon.md correctly 1`] = `
/Application List/ Application /
`;