@@ -4,21 +4,21 @@ const MailAdapter = require('../src/MailAdapter');
44const { Parse } = require ( './helper' ) ;
55
66describe ( 'MailAdapter' , ( ) => {
7- const adapter = new MailAdapter ( )
8- const user = new Parse . User ( ) ;
7+ const adapter = new MailAdapter ( )
8+ const user = new Parse . User ( ) ;
99
10- it ( 'should have a method called sendMail' , ( ) => {
11- expect ( typeof adapter . sendMail ) . toBe ( 'function' ) ;
12- expect ( adapter . sendMail ( ) ) . toBeUndefined ( ) ;
13- } ) ;
10+ it ( 'should have a method called sendMail' , ( ) => {
11+ expect ( typeof adapter . sendMail ) . toBe ( 'function' ) ;
12+ expect ( adapter . sendMail ( ) ) . toBeUndefined ( ) ;
13+ } ) ;
1414
15- it ( 'should have a method called sendVerificationEmail' , ( ) => {
16- expect ( typeof adapter . sendVerificationEmail ) . toBe ( 'function' ) ;
17- expect ( adapter . sendVerificationEmail ( { link : 'link' , appName : 'appName' , user : user } ) ) . toBeUndefined ( ) ;
18- } ) ;
15+ it ( 'should have a method called sendVerificationEmail' , ( ) => {
16+ expect ( typeof adapter . sendVerificationEmail ) . toBe ( 'function' ) ;
17+ expect ( adapter . sendVerificationEmail ( { link : 'link' , appName : 'appName' , user : user } ) ) . toBeUndefined ( ) ;
18+ } ) ;
1919
20- it ( 'should have a method called sendPasswordResetEmail' , ( ) => {
21- expect ( typeof adapter . sendPasswordResetEmail ) . toBe ( 'function' ) ;
22- expect ( adapter . sendPasswordResetEmail ( { link : 'link' , appName : 'appName' , user : user } ) ) . toBeUndefined ( ) ;
23- } ) ;
24- } ) ;
20+ it ( 'should have a method called sendPasswordResetEmail' , ( ) => {
21+ expect ( typeof adapter . sendPasswordResetEmail ) . toBe ( 'function' ) ;
22+ expect ( adapter . sendPasswordResetEmail ( { link : 'link' , appName : 'appName' , user : user } ) ) . toBeUndefined ( ) ;
23+ } ) ;
24+ } ) ;
0 commit comments