extend-chrome / jest-chrome

A complete mock of the Chrome API for Chrome extensions for use with Jest.
MIT License
125 stars 24 forks source link

Add `origin` property to MessageSender #18

Closed amakhrov closed 2 years ago

amakhrov commented 2 years ago

Community guidelines:

This PR contains:

Are tests included?

Breaking Changes?

List any relevant issue numbers:

Description

Copied over from @types/chrome: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/chrome/index.d.ts#L6943-L6947

Related documentation: https://developer.chrome.com/docs/extensions/reference/runtime/#type-MessageSender

jacksteamdev commented 2 years ago

@amakhrov LGTM! Thanks

amakhrov commented 2 years ago

Thanks @jacksteamdev ! Any plans to publish a new version to NPM?

jacksteamdev commented 2 years ago

It just hit NPM 🚀 https://www.npmjs.com/package/jest-chrome/v/0.8.0