File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,5 @@ const source = `
4444findEffectiveTestTags ( source ) ; // $ExpectType Record<string, Tags>
4545
4646findEffectiveTestTagsIn ( 'specFilename' ) ; // $ExpectType Record<string, Tags>
47+
48+ structure [ 0 ] . requiredTags ; // $ExpectType string[] | undefined
Original file line number Diff line number Diff line change 1- // Type definitions for find-test-names 1.21
1+ // Type definitions for find-test-names 1.24
22// Project: https://github.com/bahmutov/find-test-names
33// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
44// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -20,6 +20,7 @@ export interface ResultsWithStructure extends Results {
2020
2121export interface Test {
2222 name : string ;
23+ requiredTags : string [ ] | undefined ;
2324 type : 'test' ;
2425 tags : Tags ;
2526 pending : boolean ;
@@ -32,6 +33,7 @@ export interface TestInfo {
3233}
3334export interface Suite {
3435 name : string ;
36+ requiredTags ?: string [ ] | undefined ;
3537 tags ?: Tags | undefined ;
3638 pending : boolean ;
3739 type : 'suite' ;
You can’t perform that action at this time.
0 commit comments