File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ class Visitor {
26
26
27
27
export async function checkSpecText ( { specUrl, suiteLog} ) {
28
28
const specUrls = Array . isArray ( specUrl ) ? specUrl : [ specUrl ] ;
29
- const nodes = [ ] ;
29
+ const statements = [ ] ;
30
30
const specVisitor = new Visitor ( {
31
31
condition : textNodeWithMust ,
32
- accumulator : nodes ,
32
+ accumulator : statements ,
33
33
props : [ 'childNodes' ]
34
34
} ) ;
35
35
const tests = [ ] ;
@@ -51,6 +51,9 @@ export async function checkSpecText({specUrl, suiteLog}) {
51
51
testVisitor . visit ( { nodes : log . tests } ) ;
52
52
}
53
53
const testTitles = new Set ( tests . map ( test => test ?. title ) ) ;
54
+ const normStatements = new Set ( statements ) ;
55
+ console . log ( `Test Title Count ${ testTitles . size } ` ) ;
56
+ console . log ( `Normative Statement Count ${ normStatements . size } ` ) ;
54
57
}
55
58
56
59
// the condition for the spec
You can’t perform that action at this time.
0 commit comments