Skip to content

Commit

Permalink
Merge pull request #139 from vuejs/transition-truthy
Browse files Browse the repository at this point in the history
chore(transition): replace toBeTruthy with find+exists
  • Loading branch information
lmiller1990 committed Jun 8, 2020
2 parents f5b7d03 + 55d4cfe commit d26d367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features/transition.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ test('works with transitions', async () => {
expect(wrapper.find('#message').exists()).toBe(false)

await wrapper.find('button').trigger('click')
expect(wrapper.find('#message')).toBeTruthy()
expect(wrapper.find('#message').exists()).toBe(true)
})

0 comments on commit d26d367

Please sign in to comment.