MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / addHook

Method addHook

lib/config.js:146–148  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

144 }
145
146 static addHook(fn) {
147 hooks.push({ fn, ran: false })
148 }
149
150 /**
151 * Run every hook that hasn't been applied to the current config yet.

Callers 1

config_test.jsFile · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected