renamed PlayerList.vue to PlayerListView.vue
This commit is contained in:
parent
98cd757666
commit
b803e39a5a
|
|
@ -1,7 +1,7 @@
|
||||||
import { createRouter, createWebHistory } from '@ionic/vue-router';
|
import { createRouter, createWebHistory } from '@ionic/vue-router';
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import { RouteRecordRaw } from 'vue-router';
|
import { RouteRecordRaw } from 'vue-router';
|
||||||
import PlayerList from '../views/PlayerList.vue'
|
import PlayerListVuew from '../views/PlayerListView.vue'
|
||||||
import PlayerView from '../views/PlayerView.vue'
|
import PlayerView from '../views/PlayerView.vue'
|
||||||
import LoginView from '../views/LoginView.vue'
|
import LoginView from '../views/LoginView.vue'
|
||||||
import HomeView from '../views/HomeView.vue'
|
import HomeView from '../views/HomeView.vue'
|
||||||
|
|
@ -18,7 +18,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||||
{ path: '/setup', component: SetupView },
|
{ path: '/setup', component: SetupView },
|
||||||
{ path: '/home', component: HomeView },
|
{ path: '/home', component: HomeView },
|
||||||
{ path: '/profile', component: ProfileView },
|
{ path: '/profile', component: ProfileView },
|
||||||
{ path: '/players', component: PlayerList },
|
{ path: '/players', component: PlayerListVuew },
|
||||||
{ path: '/profile/:id', component: ProfileView },
|
{ path: '/profile/:id', component: ProfileView },
|
||||||
{ path: '/bullpen', component: BullpenView },
|
{ path: '/bullpen', component: BullpenView },
|
||||||
{ path: '/stats', component: BullpenListView },
|
{ path: '/stats', component: BullpenListView },
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { mount } from '@vue/test-utils'
|
import { mount } from '@vue/test-utils'
|
||||||
import PlayerList from '../../src/views/PlayerList.vue'
|
import PlayerListVuew from '../../src/views/PlayerListView.vue'
|
||||||
import { describe, expect, test } from 'vitest'
|
import { describe, expect, test } from 'vitest'
|
||||||
|
|
||||||
describe('PlayerList.vue', () => {
|
describe('PlayerListVuew.vue', () => {
|
||||||
test('renders home vue', () => {
|
test('renders home vue', () => {
|
||||||
const wrapper = mount(PlayerList)
|
const wrapper = mount(PlayerListVuew)
|
||||||
expect(wrapper.text()).toMatch('Ready to create an app?')
|
expect(wrapper.text()).toMatch('Ready to create an app?')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue