
 
 >   j o b - t r a c k e r - u i @ 0 . 1 . 0   t e s t 
 
 >   j e s t   - - r u n I n B a n d   a d m i n - u s e r s - p a g e . t e s t . t s x 
 
 
 
     c o n s o l e . e r r o r 
 
         A n   u p d a t e   t o   A d m i n U s e r s P a g e   i n s i d e   a   t e s t   w a s   n o t   w r a p p e d   i n   a c t ( . . . ) . 
 
         
 
         W h e n   t e s t i n g ,   c o d e   t h a t   c a u s e s   R e a c t   s t a t e   u p d a t e s   s h o u l d   b e   w r a p p e d   i n t o   a c t ( . . . ) : 
 
         
 
         a c t ( ( )   = >   { 
 
             / *   f i r e   e v e n t s   t h a t   u p d a t e   s t a t e   * / 
 
         } ) ; 
 
         / *   a s s e r t   o n   t h e   o u t p u t   * / 
 
         
 
         T h i s   e n s u r e s   t h a t   y o u ' r e   t e s t i n g   t h e   b e h a v i o r   t h e   u s e r   w o u l d   s e e   i n   t h e   b r o w s e r .   L e a r n   m o r e   a t   h t t p s : / / r e a c t . d e v / l i n k / w r a p - t e s t s - w i t h - a c t 
 
 
 
             7 9   |           r e t u r n   ( )   = >   {   c h e c k S e s s i o n C o o k i e ( ) ;   r e t u r n   l i f e t i m e . m o u n t e d   & &   l i f e t i m e . g e n e r a t i o n = = = g e n e r a t i o n   & &   ! i s S e s s i o n I n v a l i d a t e d ( )   & &   g e t S e s s i o n C o n t e x t ( ) = = = c o n t e x t ;   } ; 
 
             8 0   |       } ,   [ ] ) ; 
 
         >   8 1   |       c o n s t   f i n i s h A c t i o n = u s e C a l l b a c k ( ( a c t i v e :   ( )   = >   b o o l e a n )   = >   {   o w n e r . c u r r e n t . b u s y = f a l s e ;   i f   ( a c t i v e ( ) )   s e t B u s y ( f a l s e ) ;   } ,   [ ] ) ; 
 
                   |                                                                                                                                                                                                               ^ 
 
             8 2   | 
 
             8 3   |       c o n s t   c r e a t e U s e r = a s y n c   ( )   = >   { 
 
             8 4   |           i f   ( ! c a n C r e a t e )   r e t u r n ; 
 
 
 
             a t   n o d e _ m o d u l e s / r e a c t - d o m / c j s / r e a c t - d o m - c l i e n t . d e v e l o p m e n t . j s : 1 8 7 5 8 : 1 9 
 
             a t   r u n W i t h F i b e r I n D E V   ( n o d e _ m o d u l e s / r e a c t - d o m / c j s / r e a c t - d o m - c l i e n t . d e v e l o p m e n t . j s : 8 7 4 : 1 3 ) 
 
             a t   w a r n I f U p d a t e s N o t W r a p p e d W i t h A c t D E V   ( n o d e _ m o d u l e s / r e a c t - d o m / c j s / r e a c t - d o m - c l i e n t . d e v e l o p m e n t . j s : 1 8 7 5 7 : 9 ) 
 
             a t   s c h e d u l e U p d a t e O n F i b e r   ( n o d e _ m o d u l e s / r e a c t - d o m / c j s / r e a c t - d o m - c l i e n t . d e v e l o p m e n t . j s : 1 6 4 0 9 : 1 1 ) 
 
             a t   d i s p a t c h S e t S t a t e I n t e r n a l   ( n o d e _ m o d u l e s / r e a c t - d o m / c j s / r e a c t - d o m - c l i e n t . d e v e l o p m e n t . j s : 9 1 7 0 : 1 3 ) 
 
             a t   d i s p a t c h S e t S t a t e   ( n o d e _ m o d u l e s / r e a c t - d o m / c j s / r e a c t - d o m - c l i e n t . d e v e l o p m e n t . j s : 9 1 2 7 : 7 ) 
 
             a t   s e t B u s y   ( s r c / v i e w s / A d m i n U s e r s P a g e . t s x : 8 1 : 1 0 3 ) 
 
             a t   f i n i s h A c t i o n   ( s r c / v i e w s / A d m i n U s e r s P a g e . t s x : 1 3 6 : 1 5 ) 
 
 
 
 n o d e . e x e   :   T e s t   S u i t e s :   1   p a s s e d ,   1   t o t a l 
 
 A t   l i n e : 1   c h a r : 1 
 
 +   &   " C : \ P r o g r a m   F i l e s \ n o d e j s / n o d e . e x e "   " C : \ P r o g r a m   F i l e s \ n o d e j s / n o d e _ m o   . . . 
 
 +   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
 
         +   C a t e g o r y I n f o                     :   N o t S p e c i f i e d :   ( T e s t   S u i t e s :   1   p a s s e d ,   1   t o t a l : S t r i n g )   [ ] ,   R e m o t e E x c e p t i o n 
 
         +   F u l l y Q u a l i f i e d E r r o r I d   :   N a t i v e C o m m a n d E r r o r 
 
   
 
 T e s t s :               1 4   p a s s e d ,   1 4   t o t a l 
 
 S n a p s h o t s :       0   t o t a l 
 
 T i m e :                 9 . 6 5 6   s ,   e s t i m a t e d   1 4   s 
 
 R a n   a l l   t e s t   s u i t e s   m a t c h i n g   a d m i n - u s e r s - p a g e . t e s t . t s x . 
 
 