1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix styled-jsx test (#3147)

* Fix styled-jsx test

* Make sure the test passes
This commit is contained in:
Tim Neutkens 2017-10-22 18:29:58 +02:00 committed by GitHub
parent 9805231cf9
commit 40bb56e892

View file

@ -33,7 +33,7 @@ export default function ({ app }, suiteName, render) {
const styleId = $('#blue-box').attr('class')
const style = $('style')
expect(style.text().includes(`p.${styleId}{color:blue}`)).toBeTruthy()
expect(style.text().includes(`p.${styleId}{color:blue`)).toBeTruthy()
})
test('renders properties populated asynchronously', async () => {