Sinon: Document sinon.restoreObject()

Created on 27 Sep 2019  ·  3Comments  ·  Source: sinonjs/sinon

This was added recently (#2088). It needs to be documented. We could use your help.

Documentation Help wanted

Most helpful comment

I've tried to make a first step by adding documentation in utils.md.
However, some tests are failing, I will look at this later if it is ok for you.

All 3 comments

Hi,

It will be a pleasure to contribute but I need a little help to know where to add the doc part.
Should it be located in utils.md ? :)

Thanks

That seems like the right place, yes. I would also link to it from the spies and stubs sections.

If you haven't seen it, here's where to start: https://github.com/sinonjs/sinon/blob/master/docs/CONTRIBUTING.md

I've tried to make a first step by adding documentation in utils.md.
However, some tests are failing, I will look at this later if it is ok for you.

Was this page helpful?
0 / 5 - 0 ratings