Skip to content

Commit

Permalink
run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Jan 30, 2025
1 parent a37d52a commit 81e5ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nuemark/test/tag.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,16 @@ const svgpath = join(relpath, 'test.svg')

test('[svg]', () => {
const html = renderLines([`[svg ${svgpath}]`])
expect(html).toBe('<svg/>')
expect(html).toBe('<svg class="icon"/>')
})

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


test.only('[define]', () => {
test('[define]', () => {
const content = [
'[define]',
' ## Design System { #ds.foo }',
Expand Down

0 comments on commit 81e5ed7

Please sign in to comment.