From a435238e897975d477567e0dea8238af206a92bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20K=C5=82obus?= Date: Wed, 14 Dec 2016 23:12:37 +0100 Subject: [PATCH] Fixed tests --- test/scrollArea.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scrollArea.spec.js b/test/scrollArea.spec.js index a76591c..91ed624 100644 --- a/test/scrollArea.spec.js +++ b/test/scrollArea.spec.js @@ -55,7 +55,7 @@ describe('ScrollArea component', () => { let {scrollbars, content} = setupComponentWithMockedSizes(); expect(scrollbars.length).toBe(2); - console.log(content); + expect(content).toEqualJSX(
{}} style={{}} @@ -64,7 +64,7 @@ describe('ScrollArea component', () => { onTouchMove={() => {}} onTouchEnd={() => {}} onKeyDown={() => {}} - tabIndex=1 + tabIndex={1} >

content

);