Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent to webmock for testing client side code

Is there an equivalent to webmock or vcr for client side code? ... Or is it possible to use webmock with client side code already?

like image 291
Christian Schlensker Avatar asked Jun 30 '12 08:06

Christian Schlensker


1 Answers

You can use sinon's FakeXMLHttpRequest, or nock.

like image 158
Milovan Zogovic Avatar answered Dec 06 '22 20:12

Milovan Zogovic