Comments (2)
Modifying the import import * as FetchMock from 'fetch-mock';
to import * as FetchMock from 'fetch-mock/src/client';
wheresrhys/fetch-mock#419 (comment) works but seems less than ideal
from data-mocks.
I've got a similar fix published now :)
I'm meeting the creator of fetch-mock next week so I might try to work out how we can do a better fix for this.
from data-mocks.
Related Issues (20)
- github link not displayed on npm
- Update documentation to include XHR examples
- Test data-mocks with ie11
- npm deprecation warning for `babel-preset-es2015` HOT 1
- Matching http request are passing HOT 7
- Support wildcard urls HOT 1
- When to use this library vs angular-in-memory-web-api HOT 2
- All of the IE11 bugs HOT 6
- Upgrade fetch-mock HOT 1
- Upgrade xhr-mock HOT 1
- Separate dev dependencies out of dependencies in package.json HOT 1
- Overhaul tests HOT 1
- Add build pipeline HOT 2
- Document integration patterns HOT 1
- Allow to control fetch-mock 'warnOnFallback' API via MockConfig HOT 3
- Use multiple scenarios at once HOT 2
- multipart requests pass-through not working correctly HOT 1
- (angular) when compiling against es2018, a warning occurs during build HOT 3
- Upgrade to the newest version of fetch-mock
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 data-mocks.