Created
April 15, 2012 13:02
-
-
Save emdin/2392667 to your computer and use it in GitHub Desktop.
Sinon.js fake server with filtering and auto-respond
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var srv = sinon.fakeServer.create(); | |
srv.respond(...); // here will be all your server's business logic | |
srv.autoRespond = true; | |
srv.autoRespondAfter = 500; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment