From 4bceafe23957300bd60c9ea2c1bd5d01120dfef4 Mon Sep 17 00:00:00 2001 From: matinzd <24797481+matinzd@users.noreply.github.com> Date: Mon, 19 Aug 2024 15:50:29 +0200 Subject: [PATCH] test: fix modular test --- packages/analytics/__tests__/analytics.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/analytics/__tests__/analytics.test.ts b/packages/analytics/__tests__/analytics.test.ts index 209452dd2b..86520877b4 100644 --- a/packages/analytics/__tests__/analytics.test.ts +++ b/packages/analytics/__tests__/analytics.test.ts @@ -884,7 +884,7 @@ describe('Analytics', function () { it('`initiateOnDeviceConversionMeasurementWithHashedEmailAddress` throws if not a string', function () { expect(() => // @ts-ignore - firebase.analytics().initiateOnDeviceConversionMeasurementWithHashedEmailAddress(true), + initiateOnDeviceConversionMeasurementWithHashedEmailAddress(getAnalytics(), true), ).toThrowError( "firebase.analytics().initiateOnDeviceConversionMeasurementWithHashedEmailAddress(*) 'hashedEmailAddress' expected a string value.", );