@@ -51,6 +51,32 @@ describe('updaters', () => {
5151 onCommitUnmount : jest . fn ( ( ) => { } ) ,
5252 onPostCommitRoot : jest . fn ( ( ) => { } ) ,
5353 onScheduleRoot : jest . fn ( ( ) => { } ) ,
54+
55+ // Profiling APIs
56+ markCommitStarted : jest . fn ( ( ) => { } ) ,
57+ markCommitStopped : jest . fn ( ( ) => { } ) ,
58+ markComponentRenderStarted : jest . fn ( ( ) => { } ) ,
59+ markComponentRenderStopped : jest . fn ( ( ) => { } ) ,
60+ markComponentPassiveEffectMountStarted : jest . fn ( ( ) => { } ) ,
61+ markComponentPassiveEffectMountStopped : jest . fn ( ( ) => { } ) ,
62+ markComponentPassiveEffectUnmountStarted : jest . fn ( ( ) => { } ) ,
63+ markComponentPassiveEffectUnmountStopped : jest . fn ( ( ) => { } ) ,
64+ markComponentLayoutEffectMountStarted : jest . fn ( ( ) => { } ) ,
65+ markComponentLayoutEffectMountStopped : jest . fn ( ( ) => { } ) ,
66+ markComponentLayoutEffectUnmountStarted : jest . fn ( ( ) => { } ) ,
67+ markComponentLayoutEffectUnmountStopped : jest . fn ( ( ) => { } ) ,
68+ markComponentErrored : jest . fn ( ( ) => { } ) ,
69+ markComponentSuspended : jest . fn ( ( ) => { } ) ,
70+ markLayoutEffectsStarted : jest . fn ( ( ) => { } ) ,
71+ markLayoutEffectsStopped : jest . fn ( ( ) => { } ) ,
72+ markPassiveEffectsStarted : jest . fn ( ( ) => { } ) ,
73+ markPassiveEffectsStopped : jest . fn ( ( ) => { } ) ,
74+ markRenderStarted : jest . fn ( ( ) => { } ) ,
75+ markRenderYielded : jest . fn ( ( ) => { } ) ,
76+ markRenderStopped : jest . fn ( ( ) => { } ) ,
77+ markRenderScheduled : jest . fn ( ( ) => { } ) ,
78+ markForceUpdateScheduled : jest . fn ( ( ) => { } ) ,
79+ markStateUpdateScheduled : jest . fn ( ( ) => { } ) ,
5480 } ;
5581
5682 jest . mock (
0 commit comments