MCPcopy
hub / github.com/webpack/webpack / jsDom

Method jsDom

test/harness/runner/index.js:293–295  ·  view source on GitHub ↗

* @returns {boolean} whether env is jsdom

()

Source from the content-addressed store, hash-verified

291 * @returns {boolean} whether env is jsdom
292 */
293 jsDom() {
294 return this.testConfig.env === "jsdom" || this.hasWebTarget();
295 }
296
297 /**
298 * @returns {EXPECTED_ANY} moduleScope

Callers 2

createBaseModuleScopeMethod · 0.95
setupEnvMethod · 0.95

Calls 1

hasWebTargetMethod · 0.95

Tested by

no test coverage detected