Commit ed3618f0 authored by Arunoda Susiripala's avatar Arunoda Susiripala Committed by GitHub

Fix test failures (#2129)

* Fix test failures due to styled-jsx change.

* Update styled-jsx to the latest.
parent dd4b4dd9
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
"send": "0.15.2", "send": "0.15.2",
"source-map-support": "0.4.15", "source-map-support": "0.4.15",
"strip-ansi": "3.0.1", "strip-ansi": "3.0.1",
"styled-jsx": "1.0.2", "styled-jsx": "1.0.3",
"touch": "1.0.0", "touch": "1.0.0",
"unfetch": "2.1.2", "unfetch": "2.1.2",
"url": "0.11.0", "url": "0.11.0",
......
...@@ -33,7 +33,7 @@ export default function ({ app }, suiteName, render) { ...@@ -33,7 +33,7 @@ export default function ({ app }, suiteName, render) {
const styleId = $('#blue-box').attr('data-jsx') const styleId = $('#blue-box').attr('data-jsx')
const style = $(`#__jsx-style-${styleId}`) const style = $(`#__jsx-style-${styleId}`)
expect(style.text()).toMatch(/color: blue/) expect(style.text()).toMatch(/color:blue/)
}) })
test('renders properties populated asynchronously', async () => { test('renders properties populated asynchronously', async () => {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment