Great tips, thanks! Btw, to reduce lines of code in your unit tests, instead of findIncrementButton().trigger('click') await nextTick() you can use await findIncrementButton().trigger('click')
Wow, that's really something! Love how simple is that and at the same time - full of content, concise, meaty! I wish more presentations be like that! 🥰
14:15 i dont really agree withyou. sometimes you want to make sure that an event has an hook with a particular method. This check allow to aware that this hook could be potentially broken during some changes... and then change the unit test accordingly or, eventually, fix the source code.
Great tips, thanks!
Btw, to reduce lines of code in your unit tests, instead of
findIncrementButton().trigger('click')
await nextTick()
you can use
await findIncrementButton().trigger('click')
The changes you mention are so subtle but so obvious when you point them out! Also, your pace of explaining these concepts is awesome!
Wow, that's really something! Love how simple is that and at the same time - full of content, concise, meaty! I wish more presentations be like that! 🥰
Thanks..very helpful..
Thanks from TianJin China
14:15 i dont really agree withyou. sometimes you want to make sure that an event has an hook with a particular method. This check allow to aware that this hook could be potentially broken during some changes... and then change the unit test accordingly or, eventually, fix the source code.
thank you awesome talk