Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rework asynchronous tests documentationΒ #12522

@SimenB

Description

@SimenB

πŸš€ Feature Proposal

https://jestjs.io/docs/asynchronous

It currently says "The most common asynchronous pattern is callbacks." This is wrong. We should put promises at the top, and callbacks last. We should probably lift up async-await as well, before the example returning promises.


If you want to work on this, please state so in this issue so not multiple people start working on it, creating redundant work πŸ™‚

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions