Skip to content

lucasrainett/api-test-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api test example

This is an example on how api could be tested from jest this example uses the popular Star Wars API but the process demonstrated here should be portable to any other API.

If you plan to run this test multiple times, it is recommended to run agains the local cache server, as the Star Wars API has a "Rate limiting". Check For Rate Limit here https://swapi.dev/documentation

Run yarn local:server in one terminal

And yarn test:local in the second terminal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published