* 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
16 lines
269 B
JavaScript
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;
|