acvetkov / sinon-chrome

Testing chrome extensions with Node.js
ISC License
439 stars 48 forks source link

v2.2.2 is broken #70

Closed crimx closed 6 years ago

crimx commented 6 years ago

It seems like the Github project is published to NPM. require('sinon-chrome/extensions') and require('sinon-chrome/webextensions') break on v2.2.2.

And #69 is not correctly built.

acvetkov commented 6 years ago

just a minute

acvetkov commented 6 years ago

try this one https://www.npmjs.com/package/sinon-chrome v2.2.3

crimx commented 6 years ago

Thanks @acvetkov . #69 is fixed but require('sinon-chrome/extensions') and require('sinon-chrome/webextensions') are still broken.

I think "main": "out/index.js" in package.json should be changed to "main": "index.js".

And npm publish within ./out.

acvetkov commented 6 years ago

Fantastic fail.

I will fix tomorrow.