Skip to content
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

Update 2000-validation-tests.md --> deprecated jest function #1303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vernyuy
Copy link

@vernyuy vernyuy commented Jan 16, 2024

Jest method "toThrowError()" is deprecated. The valid method is "toThrow()".

Fixes #


By submitting this pull request, I confirm that my contribution is made under the terms of the MIT-0 License.

Jest method "toThrowError()" is deprecated. The valid method is "toThrow()".

Since the toThrowError() is deprecated, it makes the "readCapacity validation test" to always pass even when an invalid value is provided. To resolve this error, change the toThrowError() method to  "toThrow()"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant