ant-design/components/mention/__tests__/demo.test.js

6 lines
184 B
JavaScript
Raw Normal View History

2016-12-14 14:48:09 +08:00
import demoTest from '../../../tests/shared/demoTest';
jest.mock('draft-js/lib/generateRandomKey', () => () => '123');
2018-05-22 20:24:53 +08:00
demoTest('mention', { skip: process.env.LIB_DIR === 'dist' });