File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818describe ( 'appDistribution()' , function ( ) {
1919 describe ( 'v8 compatibility' , function ( ) {
20+ beforeEach ( async function beforeEachTest ( ) {
21+ // @ts -ignore
22+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
23+ } ) ;
24+
25+ afterEach ( async function afterEachTest ( ) {
26+ // @ts -ignore
27+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
28+ } ) ;
29+
2030 describe ( 'native module is loaded' , function ( ) {
2131 it ( 'checks native module load status' , function ( ) {
2232 firebase . appDistribution ( ) . native ;
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
1919
2020describe ( 'dynamicLinks() dynamicLinkParams.analytics' , function ( ) {
2121 describe ( 'v8 compatibility' , function ( ) {
22+ beforeEach ( async function beforeEachTest ( ) {
23+ // @ts -ignore
24+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
25+ } ) ;
26+
27+ afterEach ( async function afterEachTest ( ) {
28+ // @ts -ignore
29+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
30+ } ) ;
31+
2232 it ( 'throws if analytics is not an object' , function ( ) {
2333 try {
2434 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
1919
2020describe ( 'dynamicLinks() dynamicLinkParams.android' , function ( ) {
2121 describe ( 'v8 compatibility' , function ( ) {
22+ beforeEach ( async function beforeEachTest ( ) {
23+ // @ts -ignore
24+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
25+ } ) ;
26+
27+ afterEach ( async function afterEachTest ( ) {
28+ // @ts -ignore
29+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
30+ } ) ;
31+
2232 it ( 'throws if android is not an object' , function ( ) {
2333 try {
2434 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change 1717
1818describe ( 'dynamicLinks() dynamicLinkParams' , function ( ) {
1919 describe ( 'v8 compatibility' , function ( ) {
20+ beforeEach ( async function beforeEachTest ( ) {
21+ // @ts -ignore
22+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
23+ } ) ;
24+
25+ afterEach ( async function afterEachTest ( ) {
26+ // @ts -ignore
27+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
28+ } ) ;
29+
2030 it ( 'throws if params are not an object' , function ( ) {
2131 try {
2232 firebase . dynamicLinks ( ) . buildLink ( 123 ) ;
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
1919
2020describe ( 'dynamicLinks() dynamicLinkParams.ios' , function ( ) {
2121 describe ( 'v8 compatibility' , function ( ) {
22+ beforeEach ( async function beforeEachTest ( ) {
23+ // @ts -ignore
24+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
25+ } ) ;
26+
27+ afterEach ( async function afterEachTest ( ) {
28+ // @ts -ignore
29+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
30+ } ) ;
31+
2232 it ( 'throws if ios is not an object' , function ( ) {
2333 try {
2434 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
1919
2020describe ( 'dynamicLinks() dynamicLinkParams.itunes' , function ( ) {
2121 describe ( 'v8 compatibility' , function ( ) {
22+ beforeEach ( async function beforeEachTest ( ) {
23+ // @ts -ignore
24+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
25+ } ) ;
26+
27+ afterEach ( async function afterEachTest ( ) {
28+ // @ts -ignore
29+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
30+ } ) ;
31+
2232 it ( 'throws if itunes is not an object' , function ( ) {
2333 try {
2434 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
1919
2020describe ( 'dynamicLinks() dynamicLinkParams.navigation' , function ( ) {
2121 describe ( 'v8 compatibility' , function ( ) {
22+ beforeEach ( async function beforeEachTest ( ) {
23+ // @ts -ignore
24+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
25+ } ) ;
26+
27+ afterEach ( async function afterEachTest ( ) {
28+ // @ts -ignore
29+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
30+ } ) ;
31+
2232 it ( 'throws if navigation is not an object' , function ( ) {
2333 try {
2434 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -2,6 +2,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
22
33describe ( 'dynamicLinks() dynamicLinkParams.otherPlatform' , function ( ) {
44 describe ( 'v8 compatibility' , function ( ) {
5+ beforeEach ( async function beforeEachTest ( ) {
6+ // @ts -ignore
7+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
8+ } ) ;
9+
10+ afterEach ( async function afterEachTest ( ) {
11+ // @ts -ignore
12+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
13+ } ) ;
14+
515 it ( 'throws if otherPlatform is not an object' , function ( ) {
616 try {
717 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
1919
2020describe ( 'dynamicLinks() dynamicLinkParams.social' , function ( ) {
2121 describe ( 'v8 compatibility' , function ( ) {
22+ beforeEach ( async function beforeEachTest ( ) {
23+ // @ts -ignore
24+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
25+ } ) ;
26+
27+ afterEach ( async function afterEachTest ( ) {
28+ // @ts -ignore
29+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
30+ } ) ;
31+
2232 it ( 'throws if social is not an object' , function ( ) {
2333 try {
2434 firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -61,6 +61,16 @@ module.exports.baseParams = baseParams;
6161
6262describe ( 'dynamicLinks()' , function ( ) {
6363 describe ( 'v8 compatibility' , function ( ) {
64+ beforeEach ( async function beforeEachTest ( ) {
65+ // @ts -ignore
66+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true ;
67+ } ) ;
68+
69+ afterEach ( async function afterEachTest ( ) {
70+ // @ts -ignore
71+ globalThis . RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = false ;
72+ } ) ;
73+
6474 describe ( 'namespace' , function ( ) {
6575 it ( 'accessible from firebase.app()' , function ( ) {
6676 const app = firebase . app ( ) ;
You can’t perform that action at this time.
0 commit comments