File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import { describe } from 'vitest'
1+ import { describe , expect } from 'vitest'
22import { runMarkdownTests } from './utils'
3- import { expect } from 'vitest'
43
54describe ( 'Attributes' , ( ) => {
65 runMarkdownTests ( {
@@ -62,13 +61,13 @@ describe('Attributes', () => {
6261 'emphasis' : {
6362 markdown : '_emphasis_{#id .class}' ,
6463 } ,
65- ignoreEscapeAttrInNormalAttribute : {
64+ ' ignoreEscapeAttrInNormalAttribute' : {
6665 markdown : ':copy{code="D:\\\\Software\\\\"}' ,
6766 expected : ':copy{code="D:\\Software\\"}' ,
6867 extra : ( _md , ast ) => {
6968 expect ( ast . children [ 0 ] . type ) . toBe ( 'textComponent' )
7069 expect ( ast . children [ 0 ] . attributes . code ) . toBe ( 'D:\\Software\\' )
71- }
70+ } ,
7271 } ,
7372 'nested-in-table' : {
7473 markdown : [
You can’t perform that action at this time.
0 commit comments