Skip to content

Commit

Permalink
unit test fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
  • Loading branch information
SwikritiT committed Feb 23, 2022
1 parent 6b27735 commit b7f03f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jest/components/tab/SearchInput.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe('SearchInput.vue tests', () => {
let loadingIcon = wrapper.find(loadingIconSelector)
expect(loadingIcon.exists()).toBeFalsy()
await wrapper.setData({
loading: true,
state: 'loading',
})
loadingIcon = wrapper.find(loadingIconSelector)
expect(loadingIcon.exists()).toBeTruthy()
Expand Down

0 comments on commit b7f03f2

Please sign in to comment.