Skip to content

Mocks and examples to write and run unit tests for EdgeWorkers

License

Notifications You must be signed in to change notification settings

akamai/edgeworkers-unittest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akamai EdgeWorkers Test Mocks

This repository provides a set of mocks for two testing frameworks:

  1. Jest
  2. Mocha+Sinon

More detail can be found in the above README pages.

Contributing

When contributing to the repository please describe the change or examples in detail in the pull request.

  • Create a pull request.
  • Once the pull request is created, If the contributing user has not previously signed a Contributor License Agreement (CLA), they must complete the CLA signing steps as indicated in the pull request. The CLA signature will be stored in an Akamai private repository in Github.
  • A code review will be performed by multiple Akamai members of the edgeworkers-unittest repository. The code review must receive at least 2 approvals.
  • The pull request will be merged once all of the above criteria have been met.

Resources

For more information on EdgeWorkers and EdgeKV, refer to the following resources:

Reporting Issues

If you experience any issues with these code samples, please raise a GitHub issue. Or create a pull request with fixes, suggestions, or your own contributed example.