You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
I have been getting this error when trying to use module:
TypeError: Class constructor MailAdapter cannot be invoked without 'new'
so I cloned and tried running the tests, but get similar errors. (The current version of parse-server-mailgun tests fine on the same machine and version of node. I have tried node 5, 6, 7, 8)
npmtestAmazonSESAdaptercreatinganewinstance1)shouldfailifnotcalledwithrequiredoptions2)shouldfailwithoutproperlyconfiguredtemplatesoption✓shouldsucceedwithproperlyconfiguredtemplatesoption
#sendPasswordResetEmail()3)shouldinvoke #_sendMail()withthecorrectarguments
#sendVerificationEmail()4)shouldinvoke #_sendMail()withthecorrectarguments
#sendCustomEmail()5)shouldinvoke #_sendMail()withthecorrectarguments1passing(144ms)5failing1)AmazonSESAdaptercreatinganewinstanceshouldfailifnotcalledwithrequired options:
AssertionError: expected'Class constructors cannot be invoked without \'new\''toequal'AmazonSESAdapter requires valid fromAddress, accessKeyId, secretAccessKey, region.'+expected-actual-Classconstructorscannotbeinvokedwithout'new'+AmazonSESAdapterrequiresvalidfromAddress,accessKeyId,secretAccessKey,region.atContext.<anonymous>(test/testAmazonSESAdapter.js:55:41)2)AmazonSESAdaptercreatinganewinstanceshouldfailwithoutproperlyconfigured templates option:
AssertionError: expected'Class constructors cannot be invoked without \'new\''toequal'AmazonSESAdapter templates are not properly configured.'+expected-actual-Classconstructorscannotbeinvokedwithout'new'+AmazonSESAdaptertemplatesarenotproperlyconfigured.atContext.<anonymous>(test/testAmazonSESAdapter.js:84:34)3)AmazonSESAdapter #sendPasswordResetEmail()shouldinvoke #_sendMail()withthecorrect arguments:
TypeError: Classconstructorscannotbeinvokedwithout'new'atAmazonSESAdapter.MailAdapter(node_modules/parse-server/lib/Adapters/Email/MailAdapter.js:11:1)atnewAmazonSESAdapter(src/AmazonSESAdapter.js:14:29)atContext.<anonymous>(test/testAmazonSESAdapter.js:222:23)4)AmazonSESAdapter #sendVerificationEmail()shouldinvoke #_sendMail()withthecorrect arguments:
TypeError: Classconstructorscannotbeinvokedwithout'new'atAmazonSESAdapter.MailAdapter(node_modules/parse-server/lib/Adapters/Email/MailAdapter.js:11:1)atnewAmazonSESAdapter(src/AmazonSESAdapter.js:14:29)atContext.<anonymous>(test/testAmazonSESAdapter.js:259:23)5)AmazonSESAdapter #sendCustomEmail()shouldinvoke #_sendMail()withthecorrect arguments:
TypeError: Classconstructorscannotbeinvokedwithout'new'atAmazonSESAdapter.MailAdapter(node_modules/parse-server/lib/Adapters/Email/MailAdapter.js:11:1)atnewAmazonSESAdapter(src/AmazonSESAdapter.js:14:29)atContext.<anonymous>(test/testAmazonSESAdapter.js:295:23)
The text was updated successfully, but these errors were encountered:
I have been getting this error when trying to use module:
TypeError: Class constructor MailAdapter cannot be invoked without 'new'
so I cloned and tried running the tests, but get similar errors. (The current version of parse-server-mailgun tests fine on the same machine and version of node. I have tried node 5, 6, 7, 8)
The text was updated successfully, but these errors were encountered: