From 0d438610ffa186ab1de55703bb915ce8f5764b0a Mon Sep 17 00:00:00 2001 From: zombiej Date: Thu, 20 Dec 2018 23:10:48 +0800 Subject: [PATCH] skip show-tooltip.md test when is dist test --- components/slider/__tests__/demo.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/slider/__tests__/demo.test.js b/components/slider/__tests__/demo.test.js index 53042e86ef..440f9624a2 100644 --- a/components/slider/__tests__/demo.test.js +++ b/components/slider/__tests__/demo.test.js @@ -1,3 +1,3 @@ import demoTest from '../../../tests/shared/demoTest'; -demoTest('slider'); +demoTest('slider', { skip: process.env.LIB_DIR === 'dist' && ['show-tooltip.md'] });