File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -953,10 +953,6 @@ testCookieAndLocalStorage(() => {
953953 expect ( xhrMock . send ) . toHaveBeenCalledTimes ( 1 ) ;
954954 expect ( xhrMock . abort ) . toHaveBeenCalledTimes ( 1 ) ;
955955 } ) ;
956- test ( 'should prevent subsequent calls to init()' , ( ) => {
957- uid2 . abort ( ) ;
958- expect ( ( ) => uid2 . init ( { callback : ( ) => { } } ) ) . toThrow ( ) ;
959- } ) ;
960956 } ) ;
961957
962958 describe ( 'disconnect()' , ( ) => {
@@ -989,10 +985,6 @@ testCookieAndLocalStorage(() => {
989985 expect ( xhrMock . send ) . toHaveBeenCalledTimes ( 1 ) ;
990986 expect ( xhrMock . abort ) . toHaveBeenCalledTimes ( 1 ) ;
991987 } ) ;
992- test ( 'should prevent subsequent calls to init()' , ( ) => {
993- uid2 . disconnect ( ) ;
994- expect ( ( ) => uid2 . init ( { callback : ( ) => { } } ) ) . toThrow ( ) ;
995- } ) ;
996988 test ( 'should switch to unavailable state' , ( ) => {
997989 uid2 . init ( {
998990 callback : callback ,
You can’t perform that action at this time.
0 commit comments