File tree Expand file tree Collapse file tree 13 files changed +123
-2
lines changed Expand file tree Collapse file tree 13 files changed +123
-2
lines changed Original file line number Diff line number Diff line change 17
17
18
18
describe ( 'appDistribution()' , function ( ) {
19
19
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
+
20
30
describe ( 'native module is loaded' , function ( ) {
21
31
it ( 'checks native module load status' , function ( ) {
22
32
firebase . appDistribution ( ) . native ;
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
19
19
20
20
describe ( 'dynamicLinks() dynamicLinkParams.analytics' , function ( ) {
21
21
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
+
22
32
it ( 'throws if analytics is not an object' , function ( ) {
23
33
try {
24
34
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
19
19
20
20
describe ( 'dynamicLinks() dynamicLinkParams.android' , function ( ) {
21
21
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
+
22
32
it ( 'throws if android is not an object' , function ( ) {
23
33
try {
24
34
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change 17
17
18
18
describe ( 'dynamicLinks() dynamicLinkParams' , function ( ) {
19
19
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
+
20
30
it ( 'throws if params are not an object' , function ( ) {
21
31
try {
22
32
firebase . dynamicLinks ( ) . buildLink ( 123 ) ;
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
19
19
20
20
describe ( 'dynamicLinks() dynamicLinkParams.ios' , function ( ) {
21
21
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
+
22
32
it ( 'throws if ios is not an object' , function ( ) {
23
33
try {
24
34
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
19
19
20
20
describe ( 'dynamicLinks() dynamicLinkParams.itunes' , function ( ) {
21
21
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
+
22
32
it ( 'throws if itunes is not an object' , function ( ) {
23
33
try {
24
34
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
19
19
20
20
describe ( 'dynamicLinks() dynamicLinkParams.navigation' , function ( ) {
21
21
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
+
22
32
it ( 'throws if navigation is not an object' , function ( ) {
23
33
try {
24
34
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -2,6 +2,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
2
2
3
3
describe ( 'dynamicLinks() dynamicLinkParams.otherPlatform' , function ( ) {
4
4
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
+
5
15
it ( 'throws if otherPlatform is not an object' , function ( ) {
6
16
try {
7
17
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ const { baseParams } = require('./dynamicLinks.e2e');
19
19
20
20
describe ( 'dynamicLinks() dynamicLinkParams.social' , function ( ) {
21
21
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
+
22
32
it ( 'throws if social is not an object' , function ( ) {
23
33
try {
24
34
firebase . dynamicLinks ( ) . buildLink ( {
Original file line number Diff line number Diff line change @@ -61,6 +61,16 @@ module.exports.baseParams = baseParams;
61
61
62
62
describe ( 'dynamicLinks()' , function ( ) {
63
63
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
+
64
74
describe ( 'namespace' , function ( ) {
65
75
it ( 'accessible from firebase.app()' , function ( ) {
66
76
const app = firebase . app ( ) ;
You can’t perform that action at this time.
0 commit comments