MCPcopy
hub / github.com/codeceptjs/CodeceptJS / version

Method version

lib/codecept.js:340–342  ·  view source on GitHub ↗

* Returns the version string of CodeceptJS. * * @returns {string} The version string.

()

Source from the content-addressed store, hash-verified

338 * @returns {string} The version string.
339 */
340 static version() {
341 return JSON.parse(readFileSync(`${__dirname}/../package.json`, 'utf8')).version
342 }
343}
344
345export default Codecept

Callers 4

info.jsFile · 0.80
run-workers.jsFile · 0.80
_beforeMethod · 0.80
codecept.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected