Anton

Results 44 comments of Anton
trafficstars

Yay! @avanderhoorn, is it ok for you? ``` js var mock = require('superagent-mocker'); // set just number mock.timeout = 100; // Or function to get random mock.timeout = function ()...

@avanderhoorn do you want make pull request? :D

Awesome! What do you think about chained API like `superagent`? ``` js require('superagent-mocker') .get('/topics/:id', function(req) { return { id: req.params.id, content: 'Hello World!' }; }) .timeout(100) // or .timeout(function() {...

btw, I can release new version with `mock.timeout`, but if you want to add ability to set timeout to each endpoint, I will wait your PR before

@avanderhoorn published with `0.2.0`

9db610c0a6825fb69aad2a39ba7d97f3ea024602 but still without ability to setup it for endpoint. You can make PR for it.

mm? Они вообще работают в России? Есть что-нибудь почитать об этом?

https://github.com/masukomi/kudos — sorta likes, but i guess, it's sideproject of TPB about interactive donations. Bcz of this i've written previous comment. But i can't find any info about it. Mb...

Can you show your code?

Looks like a good pull request)