Vben
2021-06-18 4c89ea7474f4315870df1790f99f3e431f343b90
提交 | 用户 | age
f6fe1d 1 // import { mount } from '@vue/test-utils';
V 2 // import { Button } from '/@/components/Button';
3
4 test('if jest is normal.', async () => {
5   expect('jest').toEqual('jest');
6 });
7
8 // TODO Vue component testing is not supported temporarily
9 // test('is a Vue instance.', async () => {
10 //   const wrapper = mount(Button, {
11 //     slots: {
12 //       default: 'Button text',
13 //     },
14 //   });
15 //   expect(wrapper.html()).toContain('Button text');
16 // });