File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const whitespace = /\s/g
3131const valueHasLeadingOrTrailingWhitespaces = / \* \* ' \s + | \s + ' \* \* / g
3232const imageMarkdown = / ! \[ .* ?\] \( .* ?\) / g
3333const doubleslashRe = / \\ \\ / g
34- const escapedDoubleslashRe = / _ _ d o u l b e _ s l a s h _ _ / g
34+ const escapedDoubleslashRe = / _ _ d o u b l e _ s l a s h _ _ / g
3535
3636type CreateFunc = ( ( specWindow , state , assertFn ) => ( {
3737 chai : Chai . ChaiStatic
@@ -106,7 +106,7 @@ chai.use((chai, u) => {
106106 return
107107 } )
108108
109- const escapeDoubleSlash = ( str : string ) => str . replace ( doubleslashRe , '__doulbe_slash__ ' )
109+ const escapeDoubleSlash = ( str : string ) => str . replace ( doubleslashRe , '__double_slash__ ' )
110110 const restoreDoubleSlash = ( str : string ) => str . replace ( escapedDoubleslashRe , '\\\\' )
111111
112112 // remove any single quotes between our **,
You can’t perform that action at this time.
0 commit comments