Skip to content

Documentation for assertion options for the sandbox - #2564

Merged
fatso83 merged 3 commits into
sinonjs:mainfrom
fatso83:update-docs-with-assertion-limit
Oct 28, 2023
Merged

fatso83 merged 3 commits into
sinonjs:mainfrom
fatso83:update-docs-with-assertion-limit

Conversation

@fatso83

@fatso83 fatso83 commented Oct 28, 2023

Copy link
Copy Markdown
Contributor
  • doc: improve JSDocs
  • docs: improve public docs for sandbox
  • Add example on adding assertOptions to the sandbox

- move some important info up where it is more visible
- remove some bits no longer relevant (sinon.config)
  and replace with its modern (post Sinon 1) equivalent
@codecov

codecov Bot commented Oct 28, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f7d180c) 96.05% compared to head (0e8f168) 96.05%.

❗ Current head 0e8f168 differs from pull request most recent head de7f7e0. Consider uploading reports for the commit de7f7e0 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2564   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files          41       41           
  Lines        1928     1928           
=======================================
  Hits         1852     1852           
  Misses         76       76           
Flag Coverage Δ
unit 96.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
lib/sinon/create-sandbox.js 100.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fatso83 fatso83 changed the title Add documentation for assertion options for the sandbox (plus additional improvements) Documentation for assertion options for the sandbox Oct 28, 2023
@fatso83
fatso83 merged commit b5fc367 into sinonjs:main Oct 28, 2023
@fatso83
fatso83 deleted the update-docs-with-assertion-limit branch October 28, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant