mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix test case skip
This commit is contained in:
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…
Reference in New Issue
Block a user