Unit test in businessLogic in express using sinon/aws-sdk-mock(for mock the DB : "DynamoDB") , mocha, and chai

84 views
Skip to first unread message

Fahrizal Septrianto

unread,
Sep 2, 2016, 9:54:25 AM9/2/16
to nodejs
Hi all, im new for using a unit testing inside my project. Does anyone here can guide me to create a unit testing in express for businessLogic layer. Im using aws dynamoDB for database. Im really confused how to mock the DB itself and then injected it to my businessLogic.
Thankyou appreciate
Reply all
Reply to author
Forward
0 new messages