Skip to content

Commit

Permalink
refactor: remove legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Sep 5, 2024
1 parent 0cdd570 commit dcfcc9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 60 deletions.
53 changes: 0 additions & 53 deletions tests/unit/specs/pages/ProjectView.spec.js

This file was deleted.

7 changes: 0 additions & 7 deletions tests/unit/specs/pages/UserHistory.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ describe('UserHistory.vue', () => {
expect(wrapper.find('page-header-stub').exists()).toBeTruthy()
})

it('should load the document history page by default', async () => {
await core.router.replace({ name: 'user-history' })
const wrapper = mount(UserHistory, { global: { plugins: core.plugins } })
await flushPromises()
expect(wrapper.vm.$route.name).toBe('user-history.document.list')
})

it('should call get user history when page is loaded', async () => {
await core.router.replace({ name: 'user-history.document.list' })
shallowMount(UserHistory, { global: { plugins: core.plugins } })
Expand Down

0 comments on commit dcfcc9c

Please sign in to comment.