mirror of
https://github.com/andrei0x309/clear-wallet.git
synced 2024-11-11 11:31:15 +00:00
21 lines
429 B
TypeScript
21 lines
429 B
TypeScript
|
import { mount } from '@vue/test-utils'
|
||
|
import FolderPage from '@/views/FolderPage.vue'
|
||
|
|
||
|
describe('FolderPage.vue', () => {
|
||
|
it('renders folder view', () => {
|
||
|
const mockRoute = {
|
||
|
params: {
|
||
|
id: 'Outbox'
|
||
|
}
|
||
|
}
|
||
|
const wrapper = mount(FolderPage, {
|
||
|
global: {
|
||
|
mocks: {
|
||
|
$route: mockRoute
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
expect(wrapper.text()).toMatch('Explore UI Components')
|
||
|
})
|
||
|
})
|