-
I am writing this issue out of desperation, I talked to seven developers to help with my goal testing a screen recording I am writing and none manged to help me with this. so here is the case.
I a…
-
I'm not sure if this is the right place to ask, but here we go.
I recently created a Chrome extension using TypeScript and decided to add some test codes using [Jest](https://github.com/facebook/j…
-
Sinon chrome current version is 2.2.1, but this package use 1.2.
I thing i should be updated https://www.npmjs.com/package/sinon-chrome.
-
Hello, thanks for the hard work on this library, it is really great.
I've got a module that exports the following function (among many others)
```js
import puppeteer from 'puppeteer-core';
imp…
-
There is an [issue on file](https://github.com/acvetkov/sinon-chrome/issues/40) to consider
supporting the Firefox ones - browser.*
-
Hi, thank you for awesome module!
I have been trying to override a stubbed method provided by sinon-chrome with my implementation to simulate `chrome.runtime.lastError` set inside the method.
Is the…
-
I'm having trouble making sinon-chrome stubs work with `sinon.match`.
I use webpack, karma, mocha and sinon-chai. The spec below may reproduce the error.
It looks like sinon-chrome's stub doesn'…
crimx updated
6 years ago
-
I get this when running `make test-dev` in attempting to stub (sinon) window['history']:
`Chrome 51.0.2704 (Mac OS X 10.11.4) Structure "before each" hook for "initialize" FAILED
TypeError: Canno…
-
Currently there's no support for `chrome.runtime.lastError`.
After importing `sinon-chrome` what I'm doing is the following:
``` js
chrome.runtime.lastErrorStub = sinon.stub();
Object.defineProperty…
-
How would you mock `chrome.storage.onChanged.addListener` with sinon-chrome ?
Thanks!