File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,15 +61,6 @@ describe('messaging() modular', function () {
6161 this . skip ( ) ;
6262 }
6363 } ) ;
64- it ( 'defaults to false on ios before registering' , async function ( ) {
65- if ( device . getPlatform ( ) === 'ios' ) {
66- should . equal ( firebase . messaging ( ) . isDeviceRegisteredForRemoteMessages , false ) ;
67- await firebase . messaging ( ) . registerDeviceForRemoteMessages ( ) ;
68- should . equal ( firebase . messaging ( ) . isDeviceRegisteredForRemoteMessages , true ) ;
69- } else {
70- this . skip ( ) ;
71- }
72- } ) ;
7364 } ) ;
7465
7566 describe ( 'unregisterDeviceForRemoteMessages' , function ( ) {
@@ -437,21 +428,6 @@ describe('messaging() modular', function () {
437428 this . skip ( ) ;
438429 }
439430 } ) ;
440- it ( 'defaults to false on ios before registering' , async function ( ) {
441- const {
442- getMessaging,
443- isDeviceRegisteredForRemoteMessages,
444- registerDeviceForRemoteMessages,
445- } = messagingModular ;
446-
447- if ( device . getPlatform ( ) === 'ios' ) {
448- should . equal ( isDeviceRegisteredForRemoteMessages ( getMessaging ( ) ) , false ) ;
449- await registerDeviceForRemoteMessages ( getMessaging ( ) ) ;
450- should . equal ( isDeviceRegisteredForRemoteMessages ( getMessaging ( ) ) , true ) ;
451- } else {
452- this . skip ( ) ;
453- }
454- } ) ;
455431 } ) ;
456432
457433 describe ( 'unregisterDeviceForRemoteMessages' , function ( ) {
You can’t perform that action at this time.
0 commit comments