Closed raimohanska closed 10 years ago
Can you add a test too? thanks. Take a look at some of the --file
tests that look for existence of a file if you need help.
Hi, I'll definitely simplify the impl and add a test as soon as I get a suitable timeslot for that. Thanks for timely response!
There you go! I added a simple test for the existence of the expected screenshot file. After test, the file is deleted.
Thanks for the contribution!
You're very welcome. Thanks for your good work on mocha-phantomjs!
Love this feature, awesome work y'all!
I just published and tagged v3.5.2.
Related to #130, now you can take screenshots in your tests.
See the updated README.md for details.