From 95a74044b083726fead93341002a618d3d11a5a1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 27 Jan 2017 17:26:52 +0800 Subject: [PATCH] fix eslint warning --- components/breadcrumb/__tests__/Breadcrumb.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/breadcrumb/__tests__/Breadcrumb.test.js b/components/breadcrumb/__tests__/Breadcrumb.test.js index a1e48d54ce..8c6158262b 100644 --- a/components/breadcrumb/__tests__/Breadcrumb.test.js +++ b/components/breadcrumb/__tests__/Breadcrumb.test.js @@ -11,7 +11,9 @@ describe('Breadcrumb', () => { ); + // eslint-disable-next-line expect(console.error.calls.count()).toBe(1); + // eslint-disable-next-line expect(console.error.calls.argsFor(0)[0]).toContain( 'Breadcrumb only accetps Breadcrumb.Item as it\'s children' );