fix test case skip

This commit is contained in:
afc163 2018-05-22 20:24:53 +08:00 committed by 偏右
parent 292a91a777
commit 3c381c6dd1

View File

@ -2,6 +2,4 @@ import demoTest from '../../../tests/shared/demoTest';
jest.mock('draft-js/lib/generateRandomKey', () => () => '123');
if (process.env.LIB_DIR !== 'dist') {
demoTest('mention');
}
demoTest('mention', { skip: process.env.LIB_DIR === 'dist' });