Skip to content
poptocrackPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakeapi

Usage

Add "fakeapi": "git+ssh://[email protected]:poptocrack/fakeapi.git", in package.json

Install packages with yarn or nmp i

import Api from 'fakeapi'

const res = await Api.ApiCall(<response>)

ApiCall is taking 1 arg:

It is the returned value (whatever makes sense in your case)

You can use Api.setMaxWaitTime(<time>) to make ApiCall goes faster.

3000 = 3s max wait time before response.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages