jasmine.github.io icon indicating copy to clipboard operation
jasmine.github.io copied to clipboard

Better docs for custom spy strategies

Open sgravrock opened this issue 1 year ago • 0 comments

Right now all we have is https://jasmine.github.io/api/edge/jasmine.html#.addSpyStrategy which doesn't explain what a strategy is or what the factory should return. It would be good to have something that explains what custom spy strategies are useful for and how to write them.

Some context: https://groups.google.com/g/jasmine-js/c/kdzzuNxOFEU/m/1pALAoT63EsJ https://github.com/jasmine/jasmine/issues/279 https://github.com/jasmine/jasmine/issues/94 https://github.com/jasmine/jasmine/commit/4934e420b20bd4f6af3668ef06481c9dc7fecc33

sgravrock avatar Nov 14 '24 02:11 sgravrock