-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(jest-get-type) include bigint * (jest-matcher-utils) add ensureActualIsNumberOrBigInit Originally planned on just including biginit in ensurenumbers, but the only built in matcher that cant accept biginit would be toBeCloseTo * (expect) add biginit support * Revert gettype to ifelse * Add tests mixing numbers and bigint * bigDumbTypo * babel-plugin-jest-hoist add to whitelist * Wrap BigInt Tests with guard * temp fix test suite must contain at least one test * remove MatchingSnapshot tests due to unsupported env having obsoletes * remove unnecessary bigint check in equals * Remove ensure*NumbersOrBigInt, include BigInt in originals, add `or bigint` to errors * Update snapshots with new error message `number or bigint` * add bigint support to toBeCloseTo, replace ensureNumbersOrBigInt to ensureNumbers * tests(expect) remove temp_test, add bigint tests to matchers.test * tests(jest-matcher-utils) remove temp_tests, add bigint tests to index,test * Update CHANGELOG.md * Update CHANGELOG.md * (babel-preset-jest)-add @babel/plugin-syntax-bigint * Add tests for bigint syntax * Update CHANGELOG.md * 🔤 * Checking if node6 breaks with lookup * Revert "Checking if node6 breaks with lookup" This reverts commit 592d6f3. * Revert "Add tests for bigint syntax" This reverts commit be5cbb6. * Update CHANGELOG.md Co-Authored-By: JoshRosenstein <[email protected]> * Remove Default Precision Value and update error msg via code review #8382 (comment) #8382 (comment) * Replace ensureExpectedIsNumber with ensureExpectedIsNonNegativeInteger for spy matchers https://github.com/facebook/jest/pull/8382/files/fb6655d33f5efac890b77f199bd5b3f7684b1421#r280160170 * Update Matchers interface * Revert Bigint Support for 'toBeCloseTo' * Update CHANGELOG.md * pedrottimark's CR fixes in tests 👀 🎯 * Update CHANGELOG.md * move changelog entries * fix changelog formatting * Delete unnecessary disable of eslint rules * Update ExpectAPI.md * Update CHANGELOG.md * Edit ExpectAPI.md
- Loading branch information
1 parent
8054b94
commit 116303b
Showing
17 changed files
with
419 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.