<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS JS 3.x Application testing with Intern in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-x-application-testing-with-intern/m-p/68786#M6019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried to do testing of an application built using ArcGIS JS API 3.x. But when I ran &lt;EM&gt;&lt;STRONG&gt;npx intern&lt;/STRONG&gt;,&amp;nbsp;&lt;/EM&gt;the console threw the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listening on localhost:9000 (ws 9001)&lt;BR /&gt;Tunnel started&lt;BR /&gt;&lt;STRONG&gt;TypeError: Cannot read property 'pathname' of undefined&lt;/STRONG&gt;&lt;BR /&gt; at Object.&amp;lt;anonymous&amp;gt; @ node_modules\arcgis-js-api-3.27.0\kernel.js:25:126&lt;BR /&gt; at global.define @ node_modules\amd-loader\amd-loader.js:71:28&lt;BR /&gt; at Object.&amp;lt;anonymous&amp;gt; @ node_modules\arcgis-js-api-3.27.0\kernel.js:25:1&lt;BR /&gt; at Module.module.constructor._compile @ node_modules\amd-loader\amd-loader.js:10:31&lt;BR /&gt; at Object.require.extensions.(anonymous function) [as .js] @ node_modules\babel-register\lib\node.js:152:7&lt;BR /&gt; at tryModuleLoad @ internal\modules\cjs\loader.js:539:12&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In a separate test,&lt;BR /&gt;If I run the testing with 4.x arcgis modules, it could run tests that contain "esri/geometry/Extent" and "esri/geometry/SpatialReference" but if I try to test with "esri/Map" and "esri/views/MapView", it throws the following error (pretty much the same kernel.js corresponding to 4.x)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listening on localhost:9000 (ws 9001)&lt;BR /&gt;Tunnel started&lt;BR /&gt;&lt;STRONG&gt;Error: Cannot find module 'config-deferredInstrumentation?./promise/instrumentation'&lt;/STRONG&gt;&lt;BR /&gt; @ node_modules\amd-loader\amd-loader.js:55:31&lt;BR /&gt; @ node_modules\amd-loader\amd-loader.js:79:24&lt;BR /&gt; at Array.map @ anonymous&lt;BR /&gt; at global.define @ node_modules\amd-loader\amd-loader.js:71:52&lt;BR /&gt; at Object.&amp;lt;anonymous&amp;gt; @ node_modules\esri\node_modules\dojo\Deferred.js:1:63&lt;BR /&gt; at Module.module.constructor._compile @ node_modules\amd-loader\amd-loader.js:10:31&lt;BR /&gt; at Object.require.extensions.(anonymous function) [as .js] @ node_modules\babel-register\lib\node.js:152:7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me figure this out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2019 11:34:33 GMT</pubDate>
    <dc:creator>ArchanaVenkataraman</dc:creator>
    <dc:date>2019-07-30T11:34:33Z</dc:date>
    <item>
      <title>ArcGIS JS 3.x Application testing with Intern</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-x-application-testing-with-intern/m-p/68786#M6019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried to do testing of an application built using ArcGIS JS API 3.x. But when I ran &lt;EM&gt;&lt;STRONG&gt;npx intern&lt;/STRONG&gt;,&amp;nbsp;&lt;/EM&gt;the console threw the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listening on localhost:9000 (ws 9001)&lt;BR /&gt;Tunnel started&lt;BR /&gt;&lt;STRONG&gt;TypeError: Cannot read property 'pathname' of undefined&lt;/STRONG&gt;&lt;BR /&gt; at Object.&amp;lt;anonymous&amp;gt; @ node_modules\arcgis-js-api-3.27.0\kernel.js:25:126&lt;BR /&gt; at global.define @ node_modules\amd-loader\amd-loader.js:71:28&lt;BR /&gt; at Object.&amp;lt;anonymous&amp;gt; @ node_modules\arcgis-js-api-3.27.0\kernel.js:25:1&lt;BR /&gt; at Module.module.constructor._compile @ node_modules\amd-loader\amd-loader.js:10:31&lt;BR /&gt; at Object.require.extensions.(anonymous function) [as .js] @ node_modules\babel-register\lib\node.js:152:7&lt;BR /&gt; at tryModuleLoad @ internal\modules\cjs\loader.js:539:12&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In a separate test,&lt;BR /&gt;If I run the testing with 4.x arcgis modules, it could run tests that contain "esri/geometry/Extent" and "esri/geometry/SpatialReference" but if I try to test with "esri/Map" and "esri/views/MapView", it throws the following error (pretty much the same kernel.js corresponding to 4.x)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listening on localhost:9000 (ws 9001)&lt;BR /&gt;Tunnel started&lt;BR /&gt;&lt;STRONG&gt;Error: Cannot find module 'config-deferredInstrumentation?./promise/instrumentation'&lt;/STRONG&gt;&lt;BR /&gt; @ node_modules\amd-loader\amd-loader.js:55:31&lt;BR /&gt; @ node_modules\amd-loader\amd-loader.js:79:24&lt;BR /&gt; at Array.map @ anonymous&lt;BR /&gt; at global.define @ node_modules\amd-loader\amd-loader.js:71:52&lt;BR /&gt; at Object.&amp;lt;anonymous&amp;gt; @ node_modules\esri\node_modules\dojo\Deferred.js:1:63&lt;BR /&gt; at Module.module.constructor._compile @ node_modules\amd-loader\amd-loader.js:10:31&lt;BR /&gt; at Object.require.extensions.(anonymous function) [as .js] @ node_modules\babel-register\lib\node.js:152:7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me figure this out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 11:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-3-x-application-testing-with-intern/m-p/68786#M6019</guid>
      <dc:creator>ArchanaVenkataraman</dc:creator>
      <dc:date>2019-07-30T11:34:33Z</dc:date>
    </item>
  </channel>
</rss>

