1
0
Fork 0
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:
nkzawa 2016-12-01 20:39:56 +09:00
parent 94b1fb0d10
commit 39c6536bcc

View file

@ -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 => {