Skip to content

Commit 81e5ed7

Browse files
committed
run all tests
1 parent a37d52a commit 81e5ed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/nuemark/test/tag.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,16 @@ const svgpath = join(relpath, 'test.svg')
255255

256256
test('[svg]', () => {
257257
const html = renderLines([`[svg ${svgpath}]`])
258-
expect(html).toBe('<svg/>')
258+
expect(html).toBe('<svg class="icon"/>')
259259
})
260260

261261
test('[svg] nested in [button]', () => {
262262
const html = renderLines(['[button href="/"]', ` [svg ${svgpath}] *Yo*`])
263-
expect(html).toBe('<a href="/" role="button"><svg/> <em>Yo</em></a>')
263+
expect(html).toBe('<a href="/" role="button"><svg class="icon"/> <em>Yo</em></a>')
264264
})
265265

266266

267-
test.only('[define]', () => {
267+
test('[define]', () => {
268268
const content = [
269269
'[define]',
270270
' ## Design System { #ds.foo }',

0 commit comments

Comments
 (0)