Comments (1)
Closing as I realized it was a problem in the way I was trying to mock the class/function. Didn't understand the process well enough. After reading through the docs and source code, I think I'm on the right track.
from ts-mock-imports.
Related Issues (20)
- Still Having Timeout Error With Multiple Tests In One File HOT 2
- Add "How To Expect Something Was Called With The Correct Args" To README docs? HOT 1
- Mocking function to throw error? HOT 1
- Sinon sandbox-like functionality HOT 3
- Mocking objects HOT 1
- How to mock default methods? HOT 3
- Cannot set property x of [object Module] which has only a getter HOT 22
- How to check parameters of mocked instance HOT 2
- Where can I send you a beer? HOT 1
- Mocking Symbol.asyncIterator HOT 6
- Single export modules don't use default
- TypeScript 4 HOT 1
- mocking imports broken by typescript 3.9 HOT 1
- Mocking class properties HOT 4
- CRITICAL - version 1.3.6 was published without any source files HOT 2
- Mocking a static class resolves the wrong type HOT 1
- sinon dependency not properly listed HOT 6
- Cannot assign to read only property 'Config' of object '[object Module]' HOT 1
- Smart
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 ts-mock-imports.