[@testing-library/jest-dom] Add toHaveErrorMessage matcher#53505
Conversation
|
@SevenOutman Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes in this PR in the Playground. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 53505,
"author": "SevenOutman",
"headCommitOid": "14882a81536b67e6160aab3eef4ddbdf77469569",
"lastPushDate": "2021-06-08T00:42:36.000Z",
"lastActivityDate": "2021-06-08T19:23:01.000Z",
"mergeOfferDate": "2021-06-08T17:04:04.000Z",
"mergeRequestDate": "2021-06-08T19:23:01.000Z",
"mergeRequestUser": "SevenOutman",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "testing-library__jest-dom",
"kind": "edit",
"files": [
{
"path": "types/testing-library__jest-dom/index.d.ts",
"kind": "definition"
},
{
"path": "types/testing-library__jest-dom/test/testing-library__jest-dom-global-tests.ts",
"kind": "test"
}
],
"owners": [
"gnapse",
"jgoz",
"smacpherson64"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "amcasey",
"date": "2021-06-08T17:03:28.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "gnapse",
"date": "2021-06-08T01:25:38.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 850985208,
"ciResult": "pass"
} |
|
🔔 @gnapse @jgoz @smacpherson64 — please review this PR in the next few days. Be sure to explicitly select |
gnapse
left a comment
There was a problem hiding this comment.
Changed to "Request changes" due to my comments before, but most importantly, because this matcher is not yet merged in jest-dom.
|
@SevenOutman One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you! |
Co-authored-by: Ernesto García <gnapse@gmail.com>
|
@gnapse Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
Sure, please review this PR testing-library/jest-dom#370 when you have time. |
|
@gnapse I just updated the definition version to newly released |
|
@gnapse Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
|
@amcasey Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
|
Ready to merge |
|
I just published |
This PR comes hand-in-hand with testing-library/jest-dom#370.
Please fill in this template.
npm test <package to test>.Select one of these and delete the others:
If changing an existing definition:
toHaveErrorMessagematcher testing-library/jest-dom#370