# Adding mocks to lambda deploys

**URL:** <https://forum.serverless.com/t/adding-mocks-to-lambda-deploys/3954>\
**Category:** Serverless Framework\
**Tags:** lambda\
**Created:** [March 7, 2018, 11:16pm UTC](https://forum.serverless.com/t/adding-mocks-to-lambda-deploys/3954 "2018-03-07T23:16:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![foresee](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@foresee](https://forum.serverless.com/u/foresee)\
**Post date:** [March 7, 2018, 11:16pm UTC](https://forum.serverless.com/t/adding-mocks-to-lambda-deploys/3954/1 "2018-03-07T23:16:45Z")

</div>

Is there a way in the serverless.yaml to attach mocks as tests?
