Files
kami-parse-server/spec/MockEmailAdapterWithOptions.js
Drew Gross 8dc37b9d30 Exploring the interface of a mail adapter
Add some tests and demonstrate the adapter loading interface
2016-02-29 18:52:10 -05:00

9 lines
150 B
JavaScript

module.exports = options => {
if (!options) {
throw "Options were not provided"
}
return {
sendVerificationEmail: () => Promise.resolve()
}
}