MCPcopy Index your code
hub / github.com/nodejs/node / setInitScript

Method setInitScript

test/common/wpt.js:606–608  ·  view source on GitHub ↗

* Sets a script to be run in the worker before executing the tests. * @param {string} script

(script)

Source from the content-addressed store, hash-verified

604 * @param {string} script
605 */
606 setInitScript(script) {
607 this.initScript = script;
608 }
609
610 /**
611 * Set the scripts modifier for each script.

Callers 4

test-webstorage.jsFile · 0.80
test-hr-time.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected