All the JS files that are passed to the VM.
All the JS files that are passed to the VM.
This method can overridden to provide custom behavior in subclasses.
This method is overridden in JSDOMNodeJSEnv
so that user-provided
JS files (excluding "init" files) are executed as *scripts* within the
jsdom environment, rather than being directly executed by the VM.
The value returned by this method in JSDOMNodeJSEnv
is
initFiles() ++ customInitFiles() ++ codeWithJSDOMContext()
.
JS files to be loaded via scripts in the jsdom environment.
JS files to be loaded via scripts in the jsdom environment.
This method can be overridden to provide a different list of scripts.
The default value in JSDOMNodeJSEnv
is files
.