Comments (5)
Hi again, I had a quick look. Something is wrong with defaults generics. I've tried to default the generic doing this but there is another issue related to that generic.
createMock<Request<{ [key: string]: string; }>>();
You may have to wait few more days to use that interface
from jest-ts-auto-mock.
Hi, I'm sorry you are finding more issues. That ids error indicates that something got wrong when generating generics. I'll keep you updated :)
from jest-ts-auto-mock.
No worries. It's the only way I can contribute ;)
from jest-ts-auto-mock.
@barthpl morning and happy new year :) A new version has been released. 1.0.10 :) I've tested it with the entire express module. It should work, let me know if you have any issue. You may have to install the latest of ts-auto-mock if you've installed separately.
from jest-ts-auto-mock.
@uittorio happy new year to you too. Fix works perfect. Thank you.
If you decide to come to Wroclaw (Poland) let me know - I own you a bear.
from jest-ts-auto-mock.
Related Issues (11)
- the config for setupfiles doesnt work
- Jest encountered an unexpected token, help needed HOT 8
- Example does not work HOT 8
- Uses an old version of ts-auto-mock HOT 4
- Support for Typescript 4 HOT 3
- Update readme about supported jest versions
- FEATURE REQUEST | Support for @swc/jest HOT 6
- Jest 27 support HOT 3
- Add support for Jest 28 HOT 2
- Support for using together with babel/other transformers HOT 4
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 jest-ts-auto-mock.