As @brett19 said i would gladly implement it via a PR but I can’t find any test cases for the mutatin function.
If I missed the tests for mutateIn function can you please help me find them ?
If I there is no tests for it can you provide them so we can implement the mock function ?
We still have not had an opportunity to implement sub-document within the Node.js SDK’s internal mock. One possible option is to take advantage of the CouchbaseMock project (written in Java, and used by our test framework). There is already an example within the SDK from our test-framework on how to use that mock, and it implements a larger subset of the Couchbase Server APIs thanks to its use throughout all the SDKs.