vitest icon indicating copy to clipboard operation
vitest copied to clipboard

docs: add default for `fakeTimers.toFake`

Open hi-ogawa opened this issue 1 year ago • 1 comments

Description

  • Related https://github.com/vitest-dev/vitest/issues/4004

Not sure if this is a right way, but I patched @types/sinonjs__fake-timers to update jsdoc. I guess it'll work since it's bundled, but please let me know if there is a better approach to this.

It's expected to appear like this:

screenshot

image

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • [x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • [ ] Ideally, include a test that fails without this PR but passes with it.
  • [ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • [ ] Run the tests with pnpm test:ci.

Documentation

  • [ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • [x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

hi-ogawa avatar Feb 14 '24 02:02 hi-ogawa

Deploy Preview for fastidious-cascaron-4ded94 ready!

Name Link
Latest commit 037a3a24fe1b7ea9eceb20c5d2afdac238060b31
Latest deploy log https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/6602d84af40c080008c4f4c9
Deploy Preview https://deploy-preview-5197--fastidious-cascaron-4ded94.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 14 '24 02:02 netlify[bot]