chore: remove jest

This commit is contained in:
vben
2022-03-18 20:22:05 +08:00
parent b303f1bea3
commit 21bae3ad49
8 changed files with 7 additions and 1645 deletions

View File

@@ -1 +0,0 @@
export default '';

View File

@@ -1 +0,0 @@
export default {};

View File

@@ -1,5 +0,0 @@
export default jest.fn().mockImplementation(() => ({
postMessage: jest.fn(),
onmessage: jest.fn(),
onerror: jest.fn(),
}));

View File

@@ -1,16 +0,0 @@
// 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');
// });