-
-
Save richardgrantserverless/5f4618155c37c5a20663daa2766ffbb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('implement tests here', () => { | |
AWS.mock('S3', 'putObject', (params) => { | |
return new Promise((resolve, reject) => { | |
resolve({}) | |
}) | |
}) | |
return wrapped.run({ | |
body: JSON.stringify({ | |
parameter: 'value' | |
}) | |
}).then((response) => { | |
expect(response).to.not.be.empty() | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment