Commit 39c6536b authored by nkzawa's avatar nkzawa

fix a test

parent 94b1fb0d
...@@ -15,8 +15,8 @@ test(async t => { ...@@ -15,8 +15,8 @@ test(async t => {
test(async t => { test(async t => {
const html = await render('/css') const html = await render('/css')
t.true(html.includes('.css-im3wl1')) t.regex(html, /\.css-\w+/)
t.true(html.includes('<div class="css-im3wl1">This is red</div>')) t.regex(html, /<div class="css-\w+">This is red<\/div>/)
}) })
test(async t => { test(async t => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment