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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.