Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d26d367

Browse files
authoredJun 8, 2020
Merge pull request #139 from vuejs/transition-truthy
chore(transition): replace toBeTruthy with find+exists
2 parents f5b7d03 + 55d4cfe commit d26d367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/features/transition.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ test('works with transitions', async () => {
66
expect(wrapper.find('#message').exists()).toBe(false)
77

88
await wrapper.find('button').trigger('click')
9-
expect(wrapper.find('#message')).toBeTruthy()
9+
expect(wrapper.find('#message').exists()).toBe(true)
1010
})

0 commit comments

Comments
 (0)
Please sign in to comment.