@@ -37,14 +37,15 @@ describe('StatusSettingsReport', () => {
37
37
verifyWithFileExtension ( markdown , '.md' ) ;
38
38
} ) ;
39
39
40
+ const customStatusesDataForSampleLines : StatusCollection = [
41
+ [ '/' , 'A slash' , 'x' , 'IN_PROGRESS' ] ,
42
+ [ '/' , 'In Progress DUPLICATE - SHOULD NOT BE IN SAMPLE TASK LINES' , 'x' , 'IN_PROGRESS' ] ,
43
+ [ '' , 'EMPTY STATUS SYMBOL - SHOULD NOT BE IN SAMPLE TASK LINES' , '' , 'TODO' ] ,
44
+ [ 'p' , 'A p' , 'q' , 'TODO' ] ,
45
+ ] ;
46
+
40
47
it ( 'should create set of sample task lines, excluding duplicate and empty symbols' , ( ) => {
41
- const customStatusesData : StatusCollection = [
42
- [ '/' , 'A slash' , 'x' , 'IN_PROGRESS' ] ,
43
- [ '/' , 'In Progress DUPLICATE - SHOULD NOT BE IN SAMPLE TASK LINES' , 'x' , 'IN_PROGRESS' ] ,
44
- [ '' , 'EMPTY STATUS SYMBOL - SHOULD NOT BE IN SAMPLE TASK LINES' , '' , 'TODO' ] ,
45
- [ 'p' , 'A p' , 'q' , 'TODO' ] ,
46
- ] ;
47
- const { statusSettings } = createStatuses ( coreStatusesData , customStatusesData ) ;
48
+ const { statusSettings } = createStatuses ( coreStatusesData , customStatusesDataForSampleLines ) ;
48
49
49
50
const taskLines = sampleTaskLinesForValidStatuses ( statusSettings ) ;
50
51
verifyWithFileExtension ( taskLines . join ( '\n' ) , '.md' ) ;
0 commit comments