]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test: rename mount2
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 9 Apr 2020 18:51:45 +0000 (20:51 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 9 Apr 2020 18:51:45 +0000 (20:51 +0200)
__tests__/RouterLink.spec.ts
__tests__/RouterView.spec.ts
__tests__/mount.ts [moved from __tests__/mount2.ts with 100% similarity]

index ec5325d865663af31d502ea5610f99fbd63297bb..796a6027749c81eac467798eb05fc262ca8480ea 100644 (file)
@@ -10,7 +10,7 @@ import {
   RouteLocation,
 } from '../src/types'
 import { createMemoryHistory } from '../src'
-import { mount } from './mount2'
+import { mount } from './mount'
 import { ref, markNonReactive, nextTick } from 'vue'
 import { RouteRecordNormalized } from '../src/matcher/types'
 import { routerKey } from '../src/utils/injectionSymbols'
index 5ac640bb85fb2a82b337a8e4170a0b1faa7ac1bd..1983983ff887c80f13b7cf1debc0ddac70908a95 100644 (file)
@@ -5,7 +5,7 @@ import { View as RouterView } from '../src/components/View'
 import { components, RouteLocationNormalizedLoose } from './utils'
 import { START_LOCATION_NORMALIZED } from '../src/types'
 import { markNonReactive } from 'vue'
-import { mount, createMockedRoute } from './mount2'
+import { mount, createMockedRoute } from './mount'
 import { mockWarn } from 'jest-mock-warn'
 
 // to have autocompletion
similarity index 100%
rename from __tests__/mount2.ts
rename to __tests__/mount.ts