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' );