Never Forget

We have a few cases where our CSS tests need to add a class and then clean it up. It’s easy to forget to do that cleanup, as with any shared resource that needs cleaning up, so I like to create a function to manage the resource for me. It makes the change and automatically cleans it up. That way, I never forget.

comments powered by Disqus