Skip to content

Commit

Permalink
feat(#303): Update unit test import and expected text assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
tholulomo committed Jun 26, 2023
1 parent 0afca29 commit 44c2b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/tests/unit/components/XmlSearchUtil.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import createWrapper from '../../jest/script/wrapper'
import { enableAutoDestroy } from '@vue/test-utils'
import SearchGallery from '@/components/SearchGallery.vue'
import SearchGallery from '@/components/XmlSearchUtil.vue'

describe('@/components/SearchGallery.vue', () => {
let wrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('ManageCuration.vue', () => {
})

it('renders text', () => {
expect(wrapper.find('.md-body-1').text()).toBe('Administrators can manage curations. The following operations - delete, approve, and update of samples status are allowed')
expect(wrapper.find('.md-body-1').text()).toBe('Administrators can manage curations, like for example - delete, approve, and update curated samples status')
})

// Visual assertions
Expand Down

0 comments on commit 44c2b8d

Please sign in to comment.