@@ -56,22 +56,22 @@ it('correctly reports a file', () => {
5656 expect ( testModule . location ) . toBeUndefined ( )
5757 expect ( testModule . moduleId ) . toBe ( resolve ( root , './1_first.test.ts' ) )
5858 expect ( testModule . project ) . toBe ( project )
59- expect ( testModule . children . size ) . toBe ( 14 )
59+ expect ( testModule . children . size ) . toBe ( 16 )
6060
6161 const tests = [ ...testModule . children . tests ( ) ]
6262 expect ( tests ) . toHaveLength ( 11 )
6363 const deepTests = [ ...testModule . children . allTests ( ) ]
64- expect ( deepTests ) . toHaveLength ( 19 )
64+ expect ( deepTests ) . toHaveLength ( 21 )
6565
66- expect ( [ ...testModule . children . allTests ( 'skipped' ) ] ) . toHaveLength ( 5 )
67- expect ( [ ...testModule . children . allTests ( 'passed' ) ] ) . toHaveLength ( 9 )
68- expect ( [ ...testModule . children . allTests ( 'failed' ) ] ) . toHaveLength ( 5 )
69- expect ( [ ...testModule . children . allTests ( 'running' ) ] ) . toHaveLength ( 0 )
66+ expect . soft ( [ ...testModule . children . allTests ( 'skipped' ) ] ) . toHaveLength ( 7 )
67+ expect . soft ( [ ...testModule . children . allTests ( 'passed' ) ] ) . toHaveLength ( 9 )
68+ expect . soft ( [ ...testModule . children . allTests ( 'failed' ) ] ) . toHaveLength ( 5 )
69+ expect . soft ( [ ...testModule . children . allTests ( 'running' ) ] ) . toHaveLength ( 0 )
7070
7171 const suites = [ ...testModule . children . suites ( ) ]
72- expect ( suites ) . toHaveLength ( 3 )
72+ expect ( suites ) . toHaveLength ( 5 )
7373 const deepSuites = [ ...testModule . children . allSuites ( ) ]
74- expect ( deepSuites ) . toHaveLength ( 4 )
74+ expect ( deepSuites ) . toHaveLength ( 6 )
7575
7676 const diagnostic = testModule . diagnostic ( )
7777 expect ( diagnostic ) . toBeDefined ( )
@@ -187,6 +187,12 @@ it('correctly reports test assigned options', () => {
187187 expect ( testOptionTodo . options . mode ) . toBe ( 'todo' )
188188 const testModifierTodo = findTest ( testModule . children , 'todos a .modifier test' )
189189 expect ( testModifierTodo . options . mode ) . toBe ( 'todo' )
190+
191+ const testInsideTodoDescribe = findTest ( testModule . children , 'test inside todo group' )
192+ expect ( testInsideTodoDescribe . options . mode ) . toBe ( 'todo' )
193+
194+ const testInsideSkippedDescribe = findTest ( testModule . children , 'test inside skipped group' )
195+ expect ( testInsideSkippedDescribe . options . mode ) . toBe ( 'skip' )
190196} )
191197
192198it ( 'correctly reports retried tests' , ( ) => {
0 commit comments