fix(ts/index.ts): Remove deprecated expectAsync function and advise using .resolves/.rejects on expect for async assertions

This commit is contained in:
2025-04-29 11:44:04 +00:00
parent d0c2d04595
commit dd4037677d
3 changed files with 7 additions and 16 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 2025-04-29 - 2.1.2 - fix(ts/index.ts)
Remove deprecated expectAsync function and advise using .resolves/.rejects on expect for async assertions
- Deleted the redundant expectAsync export in ts/index.ts
- Users should now call expect(...).resolves or expect(...).rejects for asynchronous assertions
## 2025-04-29 - 2.1.1 - fix(Assertion)
Improve chainability by fixing return types in assertion methods