@@ -71,7 +71,7 @@ test('bad input', function() {
71
71
glob
72
72
. sync ( path . join ( __dirname , 'fixture/bad' , '*.input.js' ) )
73
73
. forEach ( function ( file ) {
74
- test ( path . basename ( file ) , function ( t ) {
74
+ test ( path . basename ( file ) , function ( ) {
75
75
return documentation
76
76
. build ( [ file ] , readOptionsFromFile ( file ) )
77
77
. then ( res => {
@@ -93,7 +93,7 @@ describe('html', function() {
93
93
glob
94
94
. sync ( path . join ( __dirname , 'fixture/html' , '*.input.js' ) )
95
95
. forEach ( function ( file ) {
96
- test ( path . basename ( file ) , async function ( t ) {
96
+ test ( path . basename ( file ) , async function ( ) {
97
97
const result = await documentation . build (
98
98
[ file ] ,
99
99
readOptionsFromFile ( file )
@@ -113,33 +113,33 @@ describe('outputs', function() {
113
113
glob
114
114
. sync ( path . join ( __dirname , 'fixture' , '*.input.js' ) )
115
115
. forEach ( function ( file ) {
116
- test ( path . basename ( file ) , async function ( tt ) {
116
+ test ( path . basename ( file ) , async function ( ) {
117
117
const result = await documentation . build (
118
118
[ file ] ,
119
119
readOptionsFromFile ( file )
120
120
) ;
121
- test ( 'markdown' , async function ( t ) {
121
+ test ( 'markdown' , async function ( ) {
122
122
const md = await outputMarkdown ( _ . cloneDeep ( result ) , {
123
123
markdownToc : true
124
124
} ) ;
125
125
expect ( result . toString ( ) ) . toMatchSnapshot ( ) ;
126
126
} ) ;
127
127
128
128
if ( file . match ( / e s 6 .i n p u t .j s / ) ) {
129
- test ( 'no markdown TOC' , async function ( t ) {
129
+ test ( 'no markdown TOC' , async function ( ) {
130
130
const txt = await outputMarkdown ( _ . cloneDeep ( result ) , {
131
131
markdownToc : false
132
132
} ) ;
133
133
expect ( result . toString ( ) ) . toMatchSnapshot ( ) ;
134
134
} ) ;
135
135
}
136
136
137
- test ( 'markdown AST' , async function ( t ) {
137
+ test ( 'markdown AST' , async function ( ) {
138
138
const ast = await outputMarkdownAST ( _ . cloneDeep ( result ) , { } ) ;
139
139
expect ( ast ) . toMatchSnapshot ( ) ;
140
140
} ) ;
141
141
142
- test ( 'JSON' , function ( t ) {
142
+ test ( 'JSON' , function ( ) {
143
143
normalize ( result ) ;
144
144
result . forEach ( function ( comment ) {
145
145
validate (
0 commit comments