Last Updated | By Zuplo
Mocking & Unit Test
Create unit tests by mocking Zuplo objects.
Zuplo Mocking & Unit Test Sample#
This sample shows how to mock ZuploRequest
and ZuploContext
in order to write unit tests. This sample uses mocha and sinon, but the concepts apply to any test and mocking tool.
See the handlers.spec.ts
file for details.