Files
kami-parse-server/spec/dependencies/mock-mail-adapter/index.js
Manuel bf732b9a6e Add build docker image to CI (#7332)
* add build docker image to CI

* remove node setup

* removed local dependency to test passing docker build

* Update CHANGELOG.md

* Revert "removed local dependency to test passing docker build"

This reverts commit a7801e1874be206c9f3f7bfd367766546bf483b6.

* removed unnecessary docker build options

* fixed docker build
2021-04-09 16:40:03 +02:00

16 lines
269 B
JavaScript

/**
* A mock mail adapter for testing.
*/
class MockMailAdapter {
constructor(options = {}) {
if (options.throw) {
throw 'MockMailAdapterConstructor';
}
}
sendMail() {
return 'MockMailAdapterSendMail';
}
}
module.exports = MockMailAdapter;