nylas-nodejs icon indicating copy to clipboard operation
nylas-nodejs copied to clipboard

mock mode support

Open ianzone opened this issue 2 years ago • 1 comments

be able to create a mock nylas instance that can return mock data when running unit tests.

ianzone avatar May 02 '23 01:05 ianzone

Good idea, it would make easier to integration tests. Another approach that you could follow is to use nock in order to mock Nylas requests. It works very well.

But I agree that having this already implemented in the sdk would help a lot

pgsnimble avatar May 22 '23 17:05 pgsnimble