Adding mocks to lambda deploys

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