Repository: remarkablemark/html-react-parser
Pull request #671 (2022-08-26 04:03:55)

build(deps-dev): bump jest from 28.1.3 to 29.0.0
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.3 to 29.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p>
<blockquote>
<h2>v29.0.0</h2>
<p>Blog post: <a href="https://jestjs.io/blog/2022/08/25/jest-29">https://jestjs.io/blog/2022/08/25/jest-29</a></p>
<h2>Features</h2>
<ul>
<li><code>[expect]</code> [<strong>BREAKING</strong>] Differentiate between <code>MatcherContext</code> <code>MatcherUtils</code> and <code>MatcherState</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13141">#13141</a>)</li>
<li><code>[jest-circus]</code> Add support for <code>test.failing.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13142">#13142</a>)</li>
<li><code>[jest-config]</code> [<strong>BREAKING</strong>] Make <code>snapshotFormat</code> default to <code>escapeString: false</code> and <code>printBasicPrototype: false</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13036">#13036</a>)</li>
<li><code>[jest-config]</code> [<strong>BREAKING</strong>] Remove undocumented <code>collectCoverageOnlyFrom</code> option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13156">#13156</a>)</li>
<li><code>[jest-environment-jsdom]</code> [<strong>BREAKING</strong>] Upgrade to <code>jsdom@20</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13037">#13037</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13058">#13058</a>)</li>
<li><code>[@jest/globals]</code> Add <code>jest.Mocked</code>, <code>jest.MockedClass</code>, <code>jest.MockedFunction</code> and <code>jest.MockedObject</code> utility types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12727">#12727</a>)</li>
<li><code>[jest-mock]</code> [<strong>BREAKING</strong>] Refactor <code>Mocked*</code> utility types. <code>MaybeMockedDeep</code> and <code>MaybeMocked</code> became <code>Mocked</code> and <code>MockedShallow</code> respectively; only deep mocked variants of <code>MockedClass</code>, <code>MockedFunction</code> and <code>MockedObject</code> are exported (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13123">#13123</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13124">#13124</a>)</li>
<li><code>[jest-mock]</code> [<strong>BREAKING</strong>] Change the default <code>jest.mocked</code> helper’s behavior to deep mocked (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13125">#13125</a>)</li>
<li><code>[jest-snapshot]</code> [<strong>BREAKING</strong>] Let <code>babel</code> find config when updating inline snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13150">#13150</a>)</li>
<li><code>[@jest/test-result, @jest/types]</code> [<strong>BREAKING</strong>] Replace <code>Bytes</code> and <code>Milliseconds</code> types with <code>number</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13155">#13155</a>)</li>
<li><code>[jest-worker]</code> Adds <code>workerIdleMemoryLimit</code> option which is used as a check for worker memory leaks &gt;= Node 16.11.0 and recycles child workers as required (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13056">#13056</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13105">#13105</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13106">#13106</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13107">#13107</a>)</li>
<li><code>[pretty-format]</code> [<strong>BREAKING</strong>] Remove <code>ConvertAnsi</code> plugin in favour of <code>jest-serializer-ansi-escapes</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13040">#13040</a>)</li>
<li><code>[pretty-format]</code> Allow to opt out from sorting object keys with <code>compareKeys: null</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12443">#12443</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li><code>[jest-config]</code> Fix testing multiple projects with TypeScript config files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13099">#13099</a>)</li>
<li><code>[@jest/expect-utils]</code> Fix deep equality of ImmutableJS Record (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13055">#13055</a>)</li>
<li><code>[jest-haste-map]</code> Increase the maximum possible file size that jest-haste-map can handle (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13094">#13094</a>)</li>
<li><code>[jest-runtime]</code> Properly support CJS re-exports from dual packages (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13170">#13170</a>)</li>
<li><code>[jest-snapshot]</code> Make <code>prettierPath</code> optional in <code>SnapshotState</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13149">#13149</a>)</li>
<li><code>[jest-snapshot]</code> Fix parsing error from inline snapshot files with <code>JSX</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12760">#12760</a>)</li>
<li><code>[jest-worker]</code> When a process runs out of memory worker exits correctly and doesn't spin indefinitely (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13054">#13054</a>)</li>
</ul>
<h2>Chore &amp; Maintenance</h2>
<ul>
<li><code>[*]</code> [<strong>BREAKING</strong>] Drop support for Node v12 and v17 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13033">#13033</a>)</li>
<li><code>[docs]</code> Fix webpack name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13049">#13049</a>)</li>
<li><code>[docs]</code> Explicit how to set <code>n</code> for <code>--bail</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13128">#13128</a>)</li>
<li><code>[docs]</code> Update Enzyme URL (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13166">#13166</a>)</li>
<li><code>[jest-leak-detector]</code> Remove support for <code>weak-napi</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13035">#13035</a>)</li>
<li><code>[jest-snapshot]</code> [<strong>BREAKING</strong>] Require <code>rootDir</code> as argument to <code>SnapshotState</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13150">#13150</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/makstech"><code>@​makstech</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13049">facebook/jest#13049</a></li>
<li><a href="https://github.com/sa2taka"><code>@​sa2taka</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13055">facebook/jest#13055</a></li>
<li><a href="https://github.com/matheus-rodrigues00"><code>@​matheus-rodrigues00</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13090">facebook/jest#13090</a></li>
<li><a href="https://github.com/lanpai"><code>@​lanpai</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13094">facebook/jest#13094</a></li>
<li><a href="https://github.com/Zebreus"><code>@​Zebreus</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13099">facebook/jest#13099</a></li>
<li><a href="https://github.com/backmask"><code>@​backmask</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13106">facebook/jest#13106</a></li>
<li><a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13120">facebook/jest#13120</a></li>
<li><a href="https://github.com/Trim"><code>@​Trim</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13128">facebook/jest#13128</a></li>
<li><a href="https://github.com/kkyusufk"><code>@​kkyusufk</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13142">facebook/jest#13142</a></li>
<li><a href="https://github.com/KrishnaPG"><code>@​KrishnaPG</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13157">facebook/jest#13157</a></li>
<li><a href="https://github.com/dev-itsheng"><code>@​dev-itsheng</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13115">facebook/jest#13115</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">jest's changelog</a>.</em></p>
<blockquote>
<h2>29.0.0</h2>
<h3>Features</h3>
<ul>
<li><code>[expect]</code> [<strong>BREAKING</strong>] Differentiate between <code>MatcherContext</code> <code>MatcherUtils</code> and <code>MatcherState</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13141">#13141</a>)</li>
<li><code>[jest-circus]</code> Add support for <code>test.failing.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13142">#13142</a>)</li>
<li><code>[jest-config]</code> [<strong>BREAKING</strong>] Make <code>snapshotFormat</code> default to <code>escapeString: false</code> and <code>printBasicPrototype: false</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13036">#13036</a>)</li>
<li><code>[jest-config]</code> [<strong>BREAKING</strong>] Remove undocumented <code>collectCoverageOnlyFrom</code> option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13156">#13156</a>)</li>
<li><code>[jest-environment-jsdom]</code> [<strong>BREAKING</strong>] Upgrade to <code>jsdom@20</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13037">#13037</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13058">#13058</a>)</li>
<li><code>[@jest/globals]</code> Add <code>jest.Mocked</code>, <code>jest.MockedClass</code>, <code>jest.MockedFunction</code> and <code>jest.MockedObject</code> utility types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12727">#12727</a>)</li>
<li><code>[jest-mock]</code> [<strong>BREAKING</strong>] Refactor <code>Mocked*</code> utility types. <code>MaybeMockedDeep</code> and <code>MaybeMocked</code> became <code>Mocked</code> and <code>MockedShallow</code> respectively; only deep mocked variants of <code>MockedClass</code>, <code>MockedFunction</code> and <code>MockedObject</code> are exported (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13123">#13123</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13124">#13124</a>)</li>
<li><code>[jest-mock]</code> [<strong>BREAKING</strong>] Change the default <code>jest.mocked</code> helper’s behavior to deep mocked (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13125">#13125</a>)</li>
<li><code>[jest-snapshot]</code> [<strong>BREAKING</strong>] Let <code>babel</code> find config when updating inline snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13150">#13150</a>)</li>
<li><code>[@jest/test-result, @jest/types]</code> [<strong>BREAKING</strong>] Replace <code>Bytes</code> and <code>Milliseconds</code> types with <code>number</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13155">#13155</a>)</li>
<li><code>[jest-worker]</code> Adds <code>workerIdleMemoryLimit</code> option which is used as a check for worker memory leaks &gt;= Node 16.11.0 and recycles child workers as required (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13056">#13056</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13105">#13105</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13106">#13106</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13107">#13107</a>)</li>
<li><code>[pretty-format]</code> [<strong>BREAKING</strong>] Remove <code>ConvertAnsi</code> plugin in favour of <code>jest-serializer-ansi-escapes</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13040">#13040</a>)</li>
<li><code>[pretty-format]</code> Allow to opt out from sorting object keys with <code>compareKeys: null</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12443">#12443</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-config]</code> Fix testing multiple projects with TypeScript config files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13099">#13099</a>)</li>
<li><code>[@jest/expect-utils]</code> Fix deep equality of ImmutableJS Record (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13055">#13055</a>)</li>
<li><code>[jest-haste-map]</code> Increase the maximum possible file size that jest-haste-map can handle (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13094">#13094</a>)</li>
<li><code>[jest-runtime]</code> Properly support CJS re-exports from dual packages (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13170">#13170</a>)</li>
<li><code>[jest-snapshot]</code> Make <code>prettierPath</code> optional in <code>SnapshotState</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13149">#13149</a>)</li>
<li><code>[jest-snapshot]</code> Fix parsing error from inline snapshot files with <code>JSX</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12760">#12760</a>)</li>
<li><code>[jest-worker]</code> When a process runs out of memory worker exits correctly and doesn't spin indefinitely (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13054">#13054</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[*]</code> [<strong>BREAKING</strong>] Drop support for Node v12 and v17 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13033">#13033</a>)</li>
<li><code>[docs]</code> Fix webpack name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13049">#13049</a>)</li>
<li><code>[docs]</code> Explicit how to set <code>n</code> for <code>--bail</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13128">#13128</a>)</li>
<li><code>[docs]</code> Update Enzyme URL (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13166">#13166</a>)</li>
<li><code>[jest-leak-detector]</code> Remove support for <code>weak-napi</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13035">#13035</a>)</li>
<li><code>[jest-snapshot]</code> [<strong>BREAKING</strong>] Require <code>rootDir</code> as argument to <code>SnapshotState</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13150">#13150</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/facebook/jest/commit/75006e46c76f6fda14bbc0548f86edb2ba087cd2"><code>75006e4</code></a> v29.0.0</li>
<li><a href="https://github.com/facebook/jest/commit/4def94b073cad300e99de378ba900e6ba9b7032f"><code>4def94b</code></a> v29.0.0-alpha.6</li>
<li><a href="https://github.com/facebook/jest/commit/63e506b5d1558a9132a8fa65151407b0a40be3a5"><code>63e506b</code></a> v29.0.0-alpha.5</li>
<li><a href="https://github.com/facebook/jest/commit/98a833bd4bc0bdcfcee5d4f04c2833400c4e2933"><code>98a833b</code></a> v29.0.0-alpha.4</li>
<li><a href="https://github.com/facebook/jest/commit/09981873c55442e5e494d42012f518b7d3d41fbd"><code>0998187</code></a> v29.0.0-alpha.3</li>
<li><a href="https://github.com/facebook/jest/commit/02cd85f37e8a222fc64e0f9014b204cb31f1ca2f"><code>02cd85f</code></a> chore: migrate from <code>lerna</code> to <code>lerna-lite</code> (<a href="https://github.com/facebook/jest/tree/HEAD/packages/jest/issues/13097">#13097</a>)</li>
<li><a href="https://github.com/facebook/jest/commit/10f1e7f52d9f876e6fb7f20c1903fdcddd8db8b1"><code>10f1e7f</code></a> v29.0.0-alpha.1</li>
<li><a href="https://github.com/facebook/jest/commit/6862afb00307b52f32eedee977a9b3041355f184"><code>6862afb</code></a> v29.0.0-alpha.0</li>
<li><a href="https://github.com/facebook/jest/commit/71441df25810d340729bc515031d31451a982010"><code>71441df</code></a> chore: drop node 12 and 14 (<a href="https://github.com/facebook/jest/tree/HEAD/packages/jest/issues/13033">#13033</a>)</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v29.0.0/packages/jest">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jest&package-manager=npm_and_yarn&previous-version=28.1.3&new-version=29.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

remarkablemark: @dependabot rebase

Patch:
diff --git a/package.json b/package.json
index 57da6f2..9e039aa 100644
--- a/package.json
+++ b/package.json
@@ -62,7 +62,7 @@
     "eslint": "8.22.0",
     "eslint-plugin-prettier": "4.2.1",
     "husky": "8.0.1",
-    "jest": "28.1.3",
+    "jest": "29.0.0",
     "jest-environment-jsdom": "29.0.0",
     "lint-staged": "13.0.3",
     "pinst": "3.0.0",


Test patch:
diff --git a/test/attributes-to-props.test.js b/test/attributes-to-props.test.js
index 1366645..d369f5e 100644
--- a/test/attributes-to-props.test.js
+++ b/test/attributes-to-props.test.js
@@ -13,7 +13,7 @@ describe('attributesToProps with HTML attribute', () => {
       'http-equiv': 'refresh'
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "className": "ic",
         "htmlFor": "tran",
         "httpEquiv": "refresh",
@@ -28,7 +28,7 @@ describe('attributesToProps with HTML attribute', () => {
       tabindex: 1
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "allowFullScreen": true,
         "charSet": "utf-8",
         "tabIndex": 1,
@@ -42,7 +42,7 @@ describe('attributesToProps with HTML attribute', () => {
       typeof: 'bar'
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "property": "foo",
         "typeof": "bar",
       }
@@ -55,7 +55,7 @@ describe('attributesToProps with HTML attribute', () => {
       itemid: 1337
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "itemID": 1337,
         "itemScope": true,
       }
@@ -68,7 +68,7 @@ describe('attributesToProps with HTML attribute', () => {
       'aria-live': 'polite'
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "aria-live": "polite",
         "data-foo": "bar",
       }
@@ -83,7 +83,7 @@ describe('attributesToProps with HTML attribute', () => {
       'data-FOO': 'bar'
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "acceptCharset": "ISO-8859-1",
         "data-FOO": "bar",
         "formNoValidate": true,
@@ -129,7 +129,7 @@ describe('attributesToProps with HTML attribute', () => {
       truespeed: ''
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "allowFullScreen": true,
         "allowpaymentrequest": "",
         "async": true,
@@ -200,7 +200,7 @@ describe('attributesToProps with SVG attribute', () => {
       'xml:base': 'http://example.org'
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "edgeMode": "edgeMode",
         "fillOpacity": "0.42",
         "fillRule": "evenodd",
@@ -257,8 +257,8 @@ describe('attributesToProps with style attribute', () => {
         -ms-transform: none;
       `;
     expect(attributesToProps({ style })).toMatchInlineSnapshot(`
-      Object {
-        "style": Object {
+      {
+        "style": {
           "--custom-property": "#f00",
           "MozBorderRadiusBottomleft": "20px",
           "WebkitBorderTopRightRadius": "10rem",
@@ -291,7 +291,7 @@ describe('attributesToProps with custom attribute', () => {
       valueOf: ''
     };
     expect(attributesToProps(attributes)).toMatchInlineSnapshot(`
-      Object {
+      {
         "__defineGetter__": "",
         "__defineSetter__": "",
         "__lookupGetter__": "",
diff --git a/test/dom-to-react.test.js b/test/dom-to-react.test.js
index 825cdd5..4409bea 100644
--- a/test/dom-to-react.test.js
+++ b/test/dom-to-react.test.js
@@ -35,7 +35,7 @@ describe('domToReact', () => {
       expect(reactElement.key).toBe(String(index));
     });
     expect(reactElements).toMatchInlineSnapshot(`
-      Array [
+      [
         <p>
           foo
         </p>,
@@ -61,7 +61,7 @@ describe('domToReact', () => {
     expect(reactElement).toMatchInlineSnapshot(`
       <script
         dangerouslySetInnerHTML={
-          Object {
+          {
             "__html": "alert(1 < 2);",
           }
         }
@@ -74,7 +74,7 @@ describe('domToReact', () => {
     expect(reactElement).toMatchInlineSnapshot(`
       <style
         dangerouslySetInnerHTML={
-          Object {
+          {
             "__html": "body > .foo { color: #f00; }",
           }
         }
@@ -102,7 +102,7 @@ describe('domToReact', () => {
     expect(reactElements[0].key).toBe('1');
     expect(reactElements[1].key).toBe('3');
     expect(reactElements).toMatchInlineSnapshot(`
-      Array [
+      [
         <p>
           foo
         </p>,
@@ -134,7 +134,7 @@ describe('domToReact', () => {
         class="myClass"
         custom-attribute="value"
         style={
-          Object {
+          {
             "OTransition": "all .5s",
             "lineHeight": "1",
           }
@@ -215,7 +215,7 @@ describe('domToReact', () => {
           class="myClass"
           custom-attribute="value"
           style={
-            Object {
+            {
               "OTransition": "all .5s",
               "lineHeight": "1",
             }
@@ -242,7 +242,7 @@ describe('domToReact', () => {
         <custom-element
           className="myClass"
           style={
-            Object {
+            {
               "OTransition": "all .5s",
               "lineHeight": "1",
             }
diff --git a/test/index.test.js b/test/index.test.js
index c957ddd..58a88fe 100644
--- a/test/index.test.js
+++ b/test/index.test.js
@@ -64,7 +64,7 @@ describe('HTMLReactParser', () => {
 
   it('parses multiple HTML elements', () => {
     expect(parse(html.multiple)).toMatchInlineSnapshot(`
-      Array [
+      [
         <p>
           foo
         </p>,
@@ -98,7 +98,7 @@ describe('HTMLReactParser', () => {
           </header>
           <h1
             style={
-              Object {
+              {
                 "color": "#000",
                 "fontSize": "42px",
               }
@@ -124,7 +124,7 @@ describe('HTMLReactParser', () => {
           </div>
           <script
             dangerouslySetInnerHTML={
-              Object {
+              {
                 "__html": "alert();",
               }
             }
@@ -244,7 +244,7 @@ describe('replace option', () => {
           </header>
           <h1
             style={
-              Object {
+              {
                 "color": "#000",
                 "fontSize": "42px",
               }
@@ -270,7 +270,7 @@ describe('replace option', () => {
           </div>
           <script
             dangerouslySetInnerHTML={
-              Object {
+              {
                 "__html": "alert();",
               }
             }
@@ -313,7 +313,7 @@ describe('replace option', () => {
           </header>
           <h1
             style={
-              Object {
+              {
                 "color": "#000",
                 "fontSize": "42px",
               }
@@ -339,7 +339,7 @@ describe('replace option', () => {
           </div>
           <script
             dangerouslySetInnerHTML={
-              Object {
+              {
                 "__html": "alert();",
               }
             }
diff --git a/test/utilities.test.js b/test/utilities.test.js
index 0aac197..53da7ac 100644
--- a/test/utilities.test.js
+++ b/test/utilities.test.js
@@ -118,8 +118,8 @@ describe('setStyleProp', () => {
     const props = { style: { foo: 'bar' }, width: 100 };
     expect(setStyleProp(style, props)).toBe(undefined);
     expect(props).toMatchInlineSnapshot(`
-      Object {
-        "style": Object {
+      {
+        "style": {
           "WebkitUserSelect": "none",
           "backgroundColor": "#bada55",
           "backgroundImage": "linear-gradient(to bottom, rgba(255,255,0,0.5), rgba(0,0,255,0.5)),