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:
parent
9805231cf9
commit
40bb56e892
|
@ -33,7 +33,7 @@ export default function ({ app }, suiteName, render) {
|
||||||
const styleId = $('#blue-box').attr('class')
|
const styleId = $('#blue-box').attr('class')
|
||||||
const style = $('style')
|
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 () => {
|
test('renders properties populated asynchronously', async () => {
|
||||||
|
|
Loading…
Reference in a new issue