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

es module version #138

Open
daKmoR opened this issue Jan 18, 2019 · 1 comment · May be fixed by #151
Open

es module version #138

daKmoR opened this issue Jan 18, 2019 · 1 comment · May be fixed by #151

Comments

@daKmoR
Copy link

daKmoR commented Jan 18, 2019

hey,

sinon chai is not available as an es module version

I would like to do something like this (natively in the browser)

import { sinonChai } from './node_modules/sinon-chai';
// could also be from './node_modules/sinon-chai/sinon-chai-esm.js';

chai.use(sinonChai);

same as it's offered for https://sinonjs.org/

would you be interested in offering an es module versions then I can prepare a PR.
(possibly using rollup or even turning it around and have an es module source and export a node/amd package => details could be discussed if this is a possible route)

@blikblum
Copy link

blikblum commented Aug 2, 2022

For the record: just published sinon-chai-es with #151

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

Successfully merging a pull request may close this issue.

2 participants