Skip to content

[@testing-library/jest-dom] Add toHaveErrorMessage matcher#53505

Merged
typescript-bot merged 4 commits intoDefinitelyTyped:masterfrom
SevenOutman:pr/add-to-have-errormessage-to-testing-library-jest-dom
Jun 8, 2021
Merged

[@testing-library/jest-dom] Add toHaveErrorMessage matcher#53505
typescript-bot merged 4 commits intoDefinitelyTyped:masterfrom
SevenOutman:pr/add-to-have-errormessage-to-testing-library-jest-dom

Conversation

@SevenOutman
Copy link
Copy Markdown
Contributor

@SevenOutman SevenOutman commented May 30, 2021

This PR comes hand-in-hand with testing-library/jest-dom#370.

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot typescript-bot added Edits Owners This PR adds or removes owners Critical package labels May 30, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented May 30, 2021

@SevenOutman Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

Because 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

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Most recent commit is approved by a DT maintainer

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"
}

@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @gnapse @jgoz @smacpherson64 — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label May 31, 2021
Copy link
Copy Markdown
Contributor

@gnapse gnapse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to "Request changes" due to my comments before, but most importantly, because this matcher is not yet merged in jest-dom.

@typescript-bot typescript-bot added Revision needed This PR needs code changes before it can be merged. and removed Owner Approved A listed owner of this package signed off on the pull request. labels May 31, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

@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>
@typescript-bot typescript-bot added Where is GH Actions? GH Actions didn't give a response to this PR and removed Revision needed This PR needs code changes before it can be merged. Where is GH Actions? GH Actions didn't give a response to this PR labels May 31, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

@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?

@SevenOutman
Copy link
Copy Markdown
Contributor Author

because this matcher is not yet merged in jest-dom.

Sure, please review this PR testing-library/jest-dom#370 when you have time.

@typescript-bot typescript-bot added Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 3, 2021
@typescript-bot typescript-bot removed Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 4, 2021
@SevenOutman
Copy link
Copy Markdown
Contributor Author

@gnapse I just updated the definition version to newly released 5.13 which included this new matcher.

@typescript-bot
Copy link
Copy Markdown
Contributor

@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?

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Jun 4, 2021
@typescript-bot typescript-bot added the Self Merge This PR can now be self-merged by the PR author or an owner label Jun 7, 2021
@typescript-bot typescript-bot removed Edits Owners This PR adds or removes owners Maintainer Approved Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 8, 2021
@typescript-bot
Copy link
Copy Markdown
Contributor

@gnapse, @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?

@typescript-bot
Copy link
Copy Markdown
Contributor

@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?

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Jun 8, 2021
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 8, 2021
@SevenOutman
Copy link
Copy Markdown
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 921b4fc into DefinitelyTyped:master Jun 8, 2021
@SevenOutman SevenOutman deleted the pr/add-to-have-errormessage-to-testing-library-jest-dom branch June 8, 2021 19:26
@typescript-bot
Copy link
Copy Markdown
Contributor

I just published @types/testing-library__jest-dom@5.13.0 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Critical package Maintainer Approved Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants