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