Lines Matching refs:init
17 // invocations until then, including the "init" and "before" of the first
49 // hook1.init.uid-5
50 // hook3.init.uid-5
59 // hook1.init.uid-6
60 // hook3.init.uid-6
61 // hook2.init.uid-6
88 const initHooks = require('./init-hooks');
95 // the type of the first Immediate since it will miss its `init` invocation.
148 // onfirstImmediate is called after all "init" and "before" callbacks of the
166 checkInvocations(as1[0], { init: 1, before: 1 },
168 checkInvocations(as3[0], { init: 1, before: 1 },
198 // hook2 saw the "init" of the second immediate before the
215 checkInvocations(hook1First, { init: 1, before: 1, after: 1, destroy: 1 },
217 checkInvocations(hook1Second, { init: 1, before: 1 },
219 // hook2 missed the "init" and "before" since it was enabled after they
223 checkInvocations(hook2Second, { init: 1, before: 1 },
225 checkInvocations(hook3First, { init: 1, before: 1, after: 1, destroy: 1 },
227 checkInvocations(hook3Second, { init: 1, before: 1 },
249 checkInvocations(hook1First, { init: 1, before: 1, after: 1, destroy: 1 },
253 checkInvocations(hook1Second, { init: 1, before: 1 },
255 // hook2 missed the "init" and "before" since it was enabled after they
259 checkInvocations(hook2Second, { init: 1, before: 1, after: 1, destroy: 1 },
261 checkInvocations(hook3First, { init: 1, before: 1, after: 1, destroy: 1 },
265 checkInvocations(hook3Second, { init: 1, before: 1, after: 1 },