chore: remove unused registration in test cases

This commit is contained in:
陈嘉涵
2020-01-14 17:48:40 +08:00
parent a20a81ac06
commit 26f2884fbb
13 changed files with 0 additions and 62 deletions
-6
View File
@@ -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;