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

Type is missing for chrome.tabs.remove method #15

Open
adlerfaulkner opened this issue Mar 8, 2022 · 1 comment
Open

Type is missing for chrome.tabs.remove method #15

adlerfaulkner opened this issue Mar 8, 2022 · 1 comment

Comments

@adlerfaulkner
Copy link

adlerfaulkner commented Mar 8, 2022

Google search terms

jest-chrome tabs.remove

Describe the bug

The types for chrome.tabs is missing the remove property.

How do we reproduce?

Write chrome.tabs.remove in a typescript jest test after installing this library according to the readme

Expected behavior

Typescript should not produce an error when using chrome.tabs.remove

Screenshots

CleanShot 2022-03-07 at 19 49 16

Please complete the following information:

  • Library Version: @0.7.2
  • Operating System: MacOS 11.6
  • Browser: Chrome 98.0.4758.109 (Official Build) (x86_64)
  • Node Version: v14.19.0

Additional Info

Sure enough, there is no exported move mock in the types file

@adlerfaulkner adlerfaulkner changed the title Types are missing chrome.tabs.remove Type is missing for chrome.tabs.remove method Mar 8, 2022
@snirye
Copy link

snirye commented Mar 10, 2024

seems like the line is missing.
it declared in the comment

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

No branches or pull requests

2 participants