File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ describe('doxdox', () => {
46
46
it ( 'parses multiple input from array' , ( ) =>
47
47
doxdox . parseInputs ( [ './lib/doxdox.js' ] , {
48
48
'description' : '' ,
49
+ 'ignore' : [ ] ,
49
50
'layout' : 'markdown' ,
50
51
'parser' : 'dox' ,
51
52
'title' : 'Untitled Project'
Original file line number Diff line number Diff line change @@ -38,4 +38,20 @@ describe('doxdox utils', () => {
38
38
39
39
} ) ;
40
40
41
+ describe ( 'formatPathsArrayToIgnore' , ( ) => {
42
+
43
+ it ( 'convert values in array' , ( ) => {
44
+
45
+ assert . deepEqual ( utils . formatPathsArrayToIgnore ( [ './src' ] ) , [ '!./src' ] ) ;
46
+
47
+ } ) ;
48
+
49
+ it ( 'do nothing with empty array' , ( ) => {
50
+
51
+ assert . deepEqual ( utils . formatPathsArrayToIgnore ( [ ] ) , [ ] ) ;
52
+
53
+ } ) ;
54
+
55
+ } ) ;
56
+
41
57
} ) ;
You can’t perform that action at this time.
0 commit comments