chore: Fix warnings in jest (#2262)
This commit is contained in:
parent
0e6cd699e8
commit
35f8d01a0c
4 changed files with 5 additions and 3 deletions
|
@ -11,7 +11,7 @@ describe('DateSeparator', () => {
|
|||
$t: () => {},
|
||||
},
|
||||
});
|
||||
expect(wrapper.isVueInstance()).toBeTruthy();
|
||||
expect(wrapper.vm).toBeTruthy();
|
||||
expect(wrapper.element).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -4,7 +4,7 @@ import Spinner from '../Spinner';
|
|||
describe('Spinner', () => {
|
||||
test('matches snapshot', () => {
|
||||
const wrapper = mount(Spinner);
|
||||
expect(wrapper.isVueInstance()).toBeTruthy();
|
||||
expect(wrapper.vm).toBeTruthy();
|
||||
expect(wrapper.element).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue