Created
June 1, 2019 19:52
-
-
Save visualjerk/a31736de7327bda0b4085db27b63fafb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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