<?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 Re: Experience Builder 1.6 Unit Tests in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112173#M3090</link>
    <description>&lt;P&gt;Thank you for your question&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/533081"&gt;@erniewise&lt;/a&gt;. I am also having that issue with the unit tests in the Simple widget. We're looking into this and will get back soon.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 16:08:18 GMT</pubDate>
    <dc:creator>GavinRehkemper</dc:creator>
    <dc:date>2021-10-28T16:08:18Z</dc:date>
    <item>
      <title>Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112167#M3088</link>
      <description>&lt;P&gt;I downloaded version 1.6 and my unit tests started failing. I even tried running the unit tests that came with the sample widget and they failed. I think there is an issue with jimu-for-test that comes with 1.6. It is not able to find the withTheme that comes with jimu-theme. Is everyone else having the same issue and not able to run unit test that came with the sample widget?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 15:56:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112167#M3088</guid>
      <dc:creator>erniewise</dc:creator>
      <dc:date>2021-10-28T15:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112173#M3090</link>
      <description>&lt;P&gt;Thank you for your question&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/533081"&gt;@erniewise&lt;/a&gt;. I am also having that issue with the unit tests in the Simple widget. We're looking into this and will get back soon.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 16:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112173#M3090</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2021-10-28T16:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112195#M3091</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/320"&gt;@GavinRehkemper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 17:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112195#M3091</guid>
      <dc:creator>erniewise</dc:creator>
      <dc:date>2021-10-28T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112225#M3093</link>
      <description>&lt;P&gt;Same here. I have had issues with jimu-ui when testing some of my custom widgets also in 1.5. About a month ago I opened this issue about it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-experience-builder-sdk-resources/issues/102" target="_blank"&gt;Some jimu-ui components breaks testing · Issue #102 · Esri/arcgis-experience-builder-sdk-resources (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 19:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112225#M3093</guid>
      <dc:creator>PeterJäderkvist</dc:creator>
      <dc:date>2021-10-28T19:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112228#M3094</link>
      <description>&lt;P&gt;I had a second look at this and found some lines missing in jest.config.js for 1.6:&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;moduleNameMapper&lt;/STRONG&gt; is missing for jimu-theme:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"^jimu-theme$": "&amp;lt;rootDir&amp;gt;/dist/jimu-theme/index.js",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;Also a &lt;STRONG&gt;testEnvironment&lt;/STRONG&gt; must be set, just add the following line somewhere in the globals object of jest.config.js:&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;testEnvironment: "jsdom"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The test should now work again, at least for the sample widget.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 19:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112228#M3094</guid>
      <dc:creator>PeterJäderkvist</dc:creator>
      <dc:date>2021-10-28T19:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112243#M3095</link>
      <description>&lt;P&gt;thanks that allows me to run my tests.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 20:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1112243#M3095</guid>
      <dc:creator>erniewise</dc:creator>
      <dc:date>2021-10-28T20:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Experience Builder 1.6 Unit Tests</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1115658#M3182</link>
      <description>&lt;P&gt;A patch that fixes the unit tests issue is here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/patches/1.6/patch1/arcgis-experience-builder" target="_blank"&gt;https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/patches/1.6/patch1/arcgis-experience-builder&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-1-6-unit-tests/m-p/1115658#M3182</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2021-11-10T15:09:44Z</dc:date>
    </item>
  </channel>
</rss>

