Skip to content

service-mocker/service-mocker-polyfills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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';

Contents

About

All the polyfills you may need to run service-mocker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published