Your Teacher | Jeffrey Way

https://pbs.twimg.com/profile_images/1179539487086514177/cl6UdqIS_400x400.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

When preparing your tests, you'll often want to first set the stage. "Given that the component's data is in this state, when I...". To allow for this, we can use the setData() method on the wrapper instance. Additionally, we can use hasStyles() to write assertions against any relevant inline CSS styles. This can be useful for asserting against visibility.

View the source code for this episode on GitHub.

Published on Oct 16th, 2017.

Back to Series Button