Skip to content

Commit cce1fc3

Browse files
committed
remove duplicate unit test
1 parent ac71dc0 commit cce1fc3

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

spec/v2/providers/identity.spec.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -419,31 +419,6 @@ describe("identity", () => {
419419
},
420420
]);
421421
});
422-
423-
it("should handle eventType, options, and handler for before send email events", () => {
424-
const fn = identity.beforeOperation("beforeSendEmail", opts, () => Promise.resolve());
425-
426-
expect(fn.__endpoint).to.deep.equal({
427-
...MINIMAL_V2_ENDPOINT,
428-
platform: "gcfv2",
429-
labels: {},
430-
minInstances: 1,
431-
region: [REGION],
432-
blockingTrigger: {
433-
...BEFORE_EMAIL_TRIGGER,
434-
options: {
435-
...BEFORE_EMAIL_TRIGGER.options,
436-
accessToken: true,
437-
},
438-
},
439-
});
440-
expect(fn.__requiredAPIs).to.deep.equal([
441-
{
442-
api: IDENTITY_TOOLKIT_API,
443-
reason: "Needed for auth blocking functions",
444-
},
445-
]);
446-
});
447422
});
448423

449424
describe("getOpts", () => {

0 commit comments

Comments
 (0)