/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunkwidgets_initializer"] = self["webpackChunkwidgets_initializer"] || []).push([["src_WidgetsInitializerInternal_test_js-node_url"],{

/***/ "./src/WidgetsInitializerInternal.test.js":
/*!************************************************!*\
  !*** ./src/WidgetsInitializerInternal.test.js ***!
  \************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var jsdom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jsdom */ \"./node_modules/jsdom/lib/api.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index */ \"./src/index.js\");\n\r\n\r\n\r\nconst { JSDOM } = jsdom__WEBPACK_IMPORTED_MODULE_0__;\r\n\r\ntest('adds 1 + 2 to equal 3', () => {\r\n  // expect(sum(1, 2)).toBe(3);\r\n  \r\n  JSDOM.fromFile('index.html').then((dom) => {\r\n    _index__WEBPACK_IMPORTED_MODULE_1__.WidgetsInitializer.init(dom.window.document.getElementById('root'), (errors) => {\r\n      if (errors) {\r\n        console.log('Init completed with errors', errors);\r\n      } else {\r\n        console.log('Init successful');\r\n      }\r\n      console.log('DOM after widgets initialization finished: ', dom.window.document.body.innerHTML);\r\n    }, {\r\n      resolver: (path) => new Promise((resolve, reject) => {\r\n        __webpack_require__(\"./src lazy recursive ^\\\\.\\\\/.*\\\\.mjs$\")(`./${path}.mjs`)\r\n          .then((module) => {\r\n            resolve(module);\r\n          })\r\n          .catch((error) => {\r\n            console.error(`App.js: Error loading ${path}: ${error}`);\r\n            reject(error);\r\n          }); \r\n      })\r\n    });\r\n  });\r\n});\n\n//# sourceURL=webpack://widgets-initializer/./src/WidgetsInitializerInternal.test.js?");

/***/ }),

/***/ "./src lazy recursive ^\\.\\/.*\\.mjs$":
/*!**************************************************!*\
  !*** ./src/ lazy ^\.\/.*\.mjs$ namespace object ***!
  \**************************************************/
/***/ ((module) => {

eval("function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(() => {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = () => ([]);\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src lazy recursive ^\\\\.\\\\/.*\\\\.mjs$\";\nmodule.exports = webpackEmptyAsyncContext;\n\n//# sourceURL=webpack://widgets-initializer/./src/_lazy_^\\.\\/.*\\.mjs$_namespace_object?");

/***/ }),

/***/ "?943a":
/*!************************!*\
  !*** stream (ignored) ***!
  \************************/
/***/ (() => {

eval("/* (ignored) */\n\n//# sourceURL=webpack://widgets-initializer/stream_(ignored)?");

/***/ }),

/***/ "node:url":
/*!****************!*\
  !*** node:url ***!
  \****************/
/***/ (() => {

eval("throw new Error(\"Module build failed: UnhandledSchemeError: Reading from \\\"node:url\\\" is not handled by plugins (Unhandled scheme).\\nWebpack supports \\\"data:\\\" and \\\"file:\\\" URIs by default.\\nYou may need an additional plugin to handle \\\"node:\\\" URIs.\\n    at C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\webpack\\\\lib\\\\NormalModule.js:977:10\\n    at Hook.eval [as callAsync] (eval at create (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\tapable\\\\lib\\\\HookCodeFactory.js:33:10), <anonymous>:6:1)\\n    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\tapable\\\\lib\\\\Hook.js:18:14)\\n    at Object.processResource (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\webpack\\\\lib\\\\NormalModule.js:973:8)\\n    at processResource (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\loader-runner\\\\lib\\\\LoaderRunner.js:220:11)\\n    at iteratePitchingLoaders (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\loader-runner\\\\lib\\\\LoaderRunner.js:171:10)\\n    at runLoaders (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\loader-runner\\\\lib\\\\LoaderRunner.js:398:2)\\n    at NormalModule._doBuild (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\webpack\\\\lib\\\\NormalModule.js:963:3)\\n    at NormalModule.build (C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\webpack\\\\lib\\\\NormalModule.js:1148:15)\\n    at C:\\\\_src\\\\__priv\\\\widgets-initializer\\\\node_modules\\\\webpack\\\\lib\\\\Compilation.js:1418:12\");\n\n//# sourceURL=webpack://widgets-initializer/node:url?");

/***/ })

}]);