Skip to content

Instantly share code, notes, and snippets.

@visualjerk
Created June 1, 2019 19:52
Show Gist options
  • Save visualjerk/a31736de7327bda0b4085db27b63fafb to your computer and use it in GitHub Desktop.
Save visualjerk/a31736de7327bda0b4085db27b63fafb to your computer and use it in GitHub Desktop.
describe('MyTransition.vue', () => {
// Make this test async
it('cleans styles after enter transition', async () => {
...
// Wait for async stuff to finish
await asyncStuff()
expect(foo.element.style.cssText).toEqual('')
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment