- ๐ Hi, Iโm Rich
- ๐ Iโm interested in creative coding
- ๐ฑ Iโm currently learning Rust
- ๐๏ธ Iโm looking to collaborate on sonification projects
- ๐ซ How to reach me https://twitter.com/pointbmusic
rjbultitude / mocks-stubs-and-spies-cjs-esm-sinon Goto Github PK
View Code? Open in Web Editor NEWA demo of stubs and spies with CommonJS and ES modules. CommonJS doesn't allow mock, stubs and spies for dependencies called within the same module and ES modules don't allow them for named imports. This repo contains demos of the problem as well as solutions.