-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: docs confusion - deprecated presets #4433
Comments
I put the link to Or maybe we should even rename Other places indeed need to be updated with util functions |
I saw Docusaurus at https://docusaurus.io/docs/migration/v3 has a block "HOW TO UPGRADE". I'm thinking about adding similar block, like "HOW TO MIGRATE" |
If I understand correctly that presets should be used by calling functions like
|
I also looked at Jest documentation, specificly API page. I think we can also create kind of like table of content at the top of the page which contains function names. Each item in table of content will link to the description as well as explanation below |
Version
29.2.0
Steps to reproduce
The documentation at https://kulshekhar.github.io/ts-jest/docs/getting-started/presets#the-presets states
Expected behavior
Should that be "presets" (plural)?
What exactly does that mean?
How can the "util functions" be used?
Actual behavior
https://kulshekhar.github.io/ts-jest/docs/getting-started/presets#basic-usage then says,
If all presets in the list are deprecated, should that comment be updated?
Also, is the example at https://kulshekhar.github.io/ts-jest/docs/guides/esm-support#use-esm-presets outdated? It uses
preset: 'ts-jest/presets/default-esm', // or other ESM presets
.I'm just trying to use the latest ESM preset that supports Top-Level Await, with least hassle.
The text was updated successfully, but these errors were encountered: