Skip to content

Commit

Permalink
Fix test failures (#2129)
Browse files Browse the repository at this point in the history
* Fix test failures due to styled-jsx change.

* Update styled-jsx to the latest.
  • Loading branch information
arunoda authored Jun 1, 2017
1 parent dd4b4dd commit ed3618f
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 175 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"send": "0.15.2",
"source-map-support": "0.4.15",
"strip-ansi": "3.0.1",
"styled-jsx": "1.0.2",
"styled-jsx": "1.0.3",
"touch": "1.0.0",
"unfetch": "2.1.2",
"url": "0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/basic/test/rendering.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function ({ app }, suiteName, render) {
const styleId = $('#blue-box').attr('data-jsx')
const style = $(`#__jsx-style-${styleId}`)

expect(style.text()).toMatch(/color: blue/)
expect(style.text()).toMatch(/color:blue/)
})

test('renders properties populated asynchronously', async () => {
Expand Down
Loading

0 comments on commit ed3618f

Please sign in to comment.