service-mocker-polyfills
v1.1.4
Published
All the polyfills you may need to run service-mocker.
Downloads
370
Readme
service-mocker-polyfills
All the polyfills you may need to run service-mocker.
Install
npm i service-mocker-polyfills --save-dev
Usage
Import all polyfills
// make sure polyfill is imported first
import 'service-mocker-polyfills';
// other stuff
import { createClient } from 'service-mocker/client';
Import specific polyfill
import 'service-mocker-polyfills/promise';
import 'service-mocker-polyfills/fetch';
import 'service-mocker-polyfills/url';