fix test case skip

pull/10628/head
afc163 7 years ago committed by 偏右
parent 292a91a777
commit 3c381c6dd1

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

Loading…
Cancel
Save