Skip to content

Commit

Permalink
Fix styled-jsx tests from swc bump (#32297)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Dec 8, 2021
1 parent aa32deb commit 9c1b183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/client-navigation/test/rendering.js
Expand Up @@ -218,15 +218,15 @@ export default function (render, fetch, ctx) {
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 styled jsx external', async () => {
const $ = await get$('/styled-jsx-external')
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 () => {
Expand Down

0 comments on commit 9c1b183

Please sign in to comment.