Nate Silva

Results 35 comments of Nate Silva

We ran into this as well. It would be nice if `td.replace` would throw an error if the function was already stubbed.

3.14 and higer breaks cases where we were returning “symbolic” results from a test instead of mocking out the full return object. Say we have a function that returns a...

We can also do this: ```typescript ….thenResolve({}) ``` But later when we do an `assert` against a generic empty object, that seems less trustworthy than testing a specific symbolic string...

Here’s an example. I don’t claim it’s great code. This is testing that a wrapper function calls `fetch(…)` with the proper arguments and returns its result. It could be rewritten...

When uploading a HEIC photo from an iPhone, it’s automatically converted to JPEG—but the GPS data is stripped, so it won’t work with OpenBenches. To support HEIC we’ll need to...

We're seeing the same issue. As a workaround, we were able to set a default cache value like this for cluster mode: ```javascript var redisCache = cacheManager.caching({ store: redisStore, clusterConfig:...

I don’t want to add a dependency for Express, but there may be a way to do this, maybe as a callback. What about something like: a `directoryHandler` option that...

I agree that we should be Redis-client agnostic. This is something I’ve thought about, but I haven’t had the bandwidth to try. We should accept any client that conforms to...

This could be an option passed to the constructor. It could take an array of basenames to look for (`['index', 'default', 'README']`). These would be tried in order, by appending...

Yep, I’m having the same problem. As far as I can tell it’s not supported. Hopefully it will be soon!