Lines Matching defs:hook
121 // Parse the command line options before the hook is enabled. We don't want
125 const hook = createHook({
144 hook.enable();
156 hook.disable();
169 // TODO(MoLow): Make it configurable to hook when isTestRunner === false.
249 function hook(hook) {
252 parent.createHook(hook, fn, {
256 hookType: hook,
267 before: hook('before'),
268 after: hook('after'),
269 beforeEach: hook('beforeEach'),
270 afterEach: hook('afterEach'),