mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
fix a test
This commit is contained in:
parent
94b1fb0d10
commit
39c6536bcc
|
@ -15,8 +15,8 @@ test(async t => {
|
|||
|
||||
test(async t => {
|
||||
const html = await render('/css')
|
||||
t.true(html.includes('.css-im3wl1'))
|
||||
t.true(html.includes('<div class="css-im3wl1">This is red</div>'))
|
||||
t.regex(html, /\.css-\w+/)
|
||||
t.regex(html, /<div class="css-\w+">This is red<\/div>/)
|
||||
})
|
||||
|
||||
test(async t => {
|
||||
|
|
Loading…
Reference in a new issue