File tree 4 files changed +9
-4
lines changed
4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ exports[`--config 1`] = `
17
17
<div id = ' split-left' class = ' overflow-auto fs0 height-viewport-100' >
18
18
<div class = ' py1 px2' >
19
19
<h3 class = ' mb0 no-anchor' >documentation</h3 >
20
- <div class = ' mb1' ><code >6.1.0</ code >< /div >
20
+ <div class = ' mb1' ></div >
21
21
<input
22
22
placeholder = ' Filter'
23
23
id = ' filter-input'
Original file line number Diff line number Diff line change @@ -839,7 +839,7 @@ exports[`html nested.input.js 1`] = `
839
839
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
840
840
<div class='py1 px2'>
841
841
<h3 class='mb0 no-anchor'>documentation</h3>
842
- <div class='mb1'><code>6.1.0</code>< /div>
842
+ <div class='mb1'></div>
843
843
<input
844
844
placeholder='Filter'
845
845
id='filter-input'
Original file line number Diff line number Diff line change @@ -172,7 +172,9 @@ test('--config', async function() {
172
172
false
173
173
) ;
174
174
let output = fs . readFileSync ( outputIndex , 'utf8' ) ;
175
- output = output . replace ( / d o c u m e n t a t i o n \d + \. \d + \. \d + / g, '' ) ;
175
+ output = output
176
+ . replace ( / d o c u m e n t a t i o n \d + \. \d + \. \d + / g, '' )
177
+ . replace ( / < c o d e > \d + \. \d + \. \d + < \/ c o d e > / g, '' ) ;
176
178
expect ( output ) . toMatchSnapshot ( ) ;
177
179
} ) ;
178
180
Original file line number Diff line number Diff line change @@ -104,7 +104,10 @@ describe('html', function() {
104
104
. sort ( ( a , b ) => a . path > b . path )
105
105
. filter ( r => r . path . match ( / ( h t m l ) $ / ) )
106
106
. map ( r =>
107
- r . contents . toString ( ) . replace ( / d o c u m e n t a t i o n \d + \. \d + \. \d + / g, '' )
107
+ r . contents
108
+ . toString ( )
109
+ . replace ( / d o c u m e n t a t i o n \d + \. \d + \. \d + / g, '' )
110
+ . replace ( / < c o d e > \d + \. \d + \. \d + < \/ c o d e > / g, '' )
108
111
)
109
112
. join ( '\n' ) ;
110
113
expect ( clean ) . toMatchSnapshot ( ) ;
You can’t perform that action at this time.
0 commit comments