fix eslint warning

pull/4732/head
afc163 8 years ago
parent f2bb4afd4d
commit 95a74044b0

@ -11,7 +11,9 @@ describe('Breadcrumb', () => {
<MyCom /> <MyCom />
</Breadcrumb> </Breadcrumb>
); );
// eslint-disable-next-line
expect(console.error.calls.count()).toBe(1); expect(console.error.calls.count()).toBe(1);
// eslint-disable-next-line
expect(console.error.calls.argsFor(0)[0]).toContain( expect(console.error.calls.argsFor(0)[0]).toContain(
'Breadcrumb only accetps Breadcrumb.Item as it\'s children' 'Breadcrumb only accetps Breadcrumb.Item as it\'s children'
); );

Loading…
Cancel
Save