We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a37d52a commit 81e5ed7Copy full SHA for 81e5ed7
packages/nuemark/test/tag.test.js
@@ -255,16 +255,16 @@ const svgpath = join(relpath, 'test.svg')
255
256
test('[svg]', () => {
257
const html = renderLines([`[svg ${svgpath}]`])
258
- expect(html).toBe('<svg/>')
+ expect(html).toBe('<svg class="icon"/>')
259
})
260
261
test('[svg] nested in [button]', () => {
262
const html = renderLines(['[button href="/"]', ` [svg ${svgpath}] *Yo*`])
263
- 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>')
264
265
266
267
-test.only('[define]', () => {
+test('[define]', () => {
268
const content = [
269
'[define]',
270
' ## Design System { #ds.foo }',
0 commit comments