chore: remove unused registration in test cases
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
import Vue from 'vue';
|
||||
import IndexBar from '..';
|
||||
import IndexAnchor from '../../index-anchor';
|
||||
import { mount, trigger, triggerDrag } from '../../../test';
|
||||
|
||||
Vue.use(IndexBar);
|
||||
Vue.use(IndexAnchor);
|
||||
|
||||
function mockScrollIntoView() {
|
||||
const fn = jest.fn();
|
||||
Element.prototype.scrollIntoView = fn;
|
||||
|
||||
Reference in New Issue
Block a user