@@ -284,7 +284,7 @@ describe("identity", () => {
284
284
describe ( "beforeOperation" , ( ) => {
285
285
it ( "should handle eventType and handler for before create events" , ( ) => {
286
286
const fn = identity . beforeOperation ( "beforeCreate" , ( ) => Promise . resolve ( ) , undefined ) ;
287
-
287
+
288
288
expect ( fn . __endpoint ) . to . deep . equal ( {
289
289
...MINIMAL_V2_ENDPOINT ,
290
290
platform : "gcfv2" ,
@@ -298,10 +298,10 @@ describe("identity", () => {
298
298
} ,
299
299
] ) ;
300
300
} ) ;
301
-
301
+
302
302
it ( "should handle eventType and handler for before sign in events" , ( ) => {
303
303
const fn = identity . beforeOperation ( "beforeSignIn" , ( ) => Promise . resolve ( ) , undefined ) ;
304
-
304
+
305
305
expect ( fn . __endpoint ) . to . deep . equal ( {
306
306
...MINIMAL_V2_ENDPOINT ,
307
307
platform : "gcfv2" ,
@@ -315,10 +315,10 @@ describe("identity", () => {
315
315
} ,
316
316
] ) ;
317
317
} ) ;
318
-
318
+
319
319
it ( "should handle eventType and handler for before email events" , ( ) => {
320
320
const fn = identity . beforeOperation ( "beforeSendEmail" , ( ) => Promise . resolve ( ) , undefined ) ;
321
-
321
+
322
322
expect ( fn . __endpoint ) . to . deep . equal ( {
323
323
...MINIMAL_V2_ENDPOINT ,
324
324
platform : "gcfv2" ,
@@ -351,7 +351,7 @@ describe("identity", () => {
351
351
} ) ;
352
352
it ( "should handle eventType, options, and handler for before create events" , ( ) => {
353
353
const fn = identity . beforeOperation ( "beforeCreate" , opts , ( ) => Promise . resolve ( ) ) ;
354
-
354
+
355
355
expect ( fn . __endpoint ) . to . deep . equal ( {
356
356
...MINIMAL_V2_ENDPOINT ,
357
357
platform : "gcfv2" ,
@@ -373,10 +373,10 @@ describe("identity", () => {
373
373
} ,
374
374
] ) ;
375
375
} ) ;
376
-
376
+
377
377
it ( "should handle eventType, options, and handler for before sign in events" , ( ) => {
378
378
const fn = identity . beforeOperation ( "beforeSignIn" , opts , ( ) => Promise . resolve ( ) ) ;
379
-
379
+
380
380
expect ( fn . __endpoint ) . to . deep . equal ( {
381
381
...MINIMAL_V2_ENDPOINT ,
382
382
platform : "gcfv2" ,
@@ -398,10 +398,10 @@ describe("identity", () => {
398
398
} ,
399
399
] ) ;
400
400
} ) ;
401
-
401
+
402
402
it ( "should handle eventType, options, and handler for before send email events" , ( ) => {
403
403
const fn = identity . beforeOperation ( "beforeSendEmail" , opts , ( ) => Promise . resolve ( ) ) ;
404
-
404
+
405
405
expect ( fn . __endpoint ) . to . deep . equal ( {
406
406
...MINIMAL_V2_ENDPOINT ,
407
407
platform : "gcfv2" ,
0 commit comments