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

[testing-library/jasmine-dom] Add default export #71300

Conversation

sebastian-altamirano
Copy link
Contributor

@sebastian-altamirano sebastian-altamirano commented Nov 30, 2024

Currently, the type definitions extend the matchers exposed by Jasmine but do not provide a definition for the default export, without this definition TS does not know that the package can be imported, causing the error reported at testing-library/jasmine-dom#40.

Fixes testing-library/jasmine-dom#40

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <>
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

@typescript-bot
Copy link
Contributor

typescript-bot commented Nov 30, 2024

@sebastian-altamirano Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Most recent commit is approved by type definition owners or DT maintainers

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": 71300,
  "author": "sebastian-altamirano",
  "headCommitOid": "8476dfdfaab989a6fc3304133c834f5ed06bc8dc",
  "mergeBaseOid": "c39e00d70995131a814a23b8054ea191d910925b",
  "lastPushDate": "2024-11-30T21:42:06.000Z",
  "lastActivityDate": "2024-12-01T22:08:26.000Z",
  "mergeOfferDate": "2024-12-01T18:59:58.000Z",
  "mergeRequestDate": "2024-12-01T22:08:26.000Z",
  "mergeRequestUser": "sebastian-altamirano",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Popular",
  "pkgInfo": [
    {
      "name": "testing-library__jasmine-dom",
      "kind": "edit",
      "files": [
        {
          "path": "types/testing-library__jasmine-dom/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/testing-library__jasmine-dom/test/testing-library__jasmine-dom-global-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "brrianalexis"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "brrianalexis",
      "date": "2024-12-01T18:59:21.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 2509393831,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Popular package This PR affects a popular package (as counted by NPM download counts). label Nov 30, 2024
@typescript-bot
Copy link
Contributor

🔔 @brrianalexis — 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 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 Dec 1, 2024
@typescript-bot
Copy link
Contributor

@sebastian-altamirano: Everything looks good here. I am ready to merge this PR (at 8476dfd) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@brrianalexis: you can do this too.)

@sebastian-altamirano
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 529ab56 into DefinitelyTyped:master Dec 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Owner Approved A listed owner of this package signed off on the pull request. Popular package This PR affects a popular package (as counted by NPM download counts). 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.

Could not find a declaration file for module '@testing-library/jasmine-dom/dist' on Angular 12 project
3 participants