Related Issues (20)
- function identity is different for modules that are not replaced with testdouble when testdouble is replacing other ESM modules HOT 10
- Importing a mocked ESM module dynamically will throw an error in node 16.17.0 HOT 3
- td.replace support for constructors? HOT 2
- td.replaceEsm() but mocking a global in that module only HOT 2
- Consider relaxing `thenReject` to accept types other than `Error` HOT 2
- How to call-through original function? HOT 1
- Incompatibility with node v20.0.0 HOT 2
- Add docs for using `testdouble` when we have to use another loader (ie `ts-node/esm`) HOT 8
- Where is changelog for 3.19.0 HOT 2
- Get list of mocked modules HOT 7
- Feature request: reset specific module(s) HOT 6
- replaceEsm behaviour HOT 1
- replaceEsm breaks in node20 when other loaders are used HOT 3
- `td.imitate` produces `undefined` for object keys of type `Accessor`
- `td.replaceEsm` does not work when specifier is resolved via loader HOT 1
- Feature request: `td.func().reset()` (reset spy/stub state)
- Suite test:esm fails under Node 21 HOT 2
- Module not found: Error: Can't resolve 'module' in 'node_modules/testdouble/lib'
- Stubbing a CJS module from an ESM
- `npm-run-all` to `npm-run-all2`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testdouble.js.