From: Eduardo San Martin Morote Date: Wed, 10 Feb 2021 08:32:37 +0000 (+0100) Subject: test: remov ewarning X-Git-Tag: v4.0.4~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca5f1c070e7f15a5f4cc39e0366dd78e39a90c1e;p=thirdparty%2Fvuejs%2Frouter.git test: remov ewarning --- diff --git a/__tests__/guards/beforeRouteEnterCallback.spec.ts b/__tests__/guards/beforeRouteEnterCallback.spec.ts index 6b66349d..b9918c48 100644 --- a/__tests__/guards/beforeRouteEnterCallback.spec.ts +++ b/__tests__/guards/beforeRouteEnterCallback.spec.ts @@ -3,12 +3,7 @@ */ import { defineComponent, h } from 'vue' import { mount } from '@vue/test-utils' -import { - createRouter, - RouterView, - createMemoryHistory, - RouterOptions, -} from '../../src' +import { createRouter, createMemoryHistory, RouterOptions } from '../../src' const nextCallbacks = { Default: jest.fn(), @@ -68,7 +63,6 @@ describe('beforeRouteEnter next callback', () => { { global: { plugins: [router], - components: { RouterView }, }, } )