test: rename destroy to unmount
This commit is contained in:
@@ -118,7 +118,7 @@ test('should update active anchor after page scroll', () => {
|
||||
wrapper.setData({ sticky: true });
|
||||
trigger(window, 'scroll');
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
wrapper.vm.$destroy();
|
||||
wrapper.vm.$unmount();
|
||||
|
||||
Element.prototype.getBoundingClientRect = nativeRect;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user