@@ -8,14 +8,14 @@ describe('missingMetadata', () => {
88 it ( 'should not report when both fields are present' , ( ) => {
99 const context = createContext ( [
1010 { type : 'html' , value : '<!--introduced_in=12.0.0-->' } ,
11- { type : 'html' , value : '<!--llmDescription: desc-->' } ,
11+ { type : 'html' , value : '<!--llm_description= desc-->' } ,
1212 ] ) ;
1313
1414 missingMetadata ( context ) ;
1515 strictEqual ( context . report . mock . callCount ( ) , 0 ) ;
1616 } ) ;
1717
18- it ( 'should report only llmDescription when introduced_in is present' , ( ) => {
18+ it ( 'should report only llm_description when introduced_in is present' , ( ) => {
1919 const context = createContext ( [
2020 { type : 'html' , value : '<!--introduced_in=12.0.0-->' } ,
2121 ] ) ;
@@ -25,7 +25,7 @@ describe('missingMetadata', () => {
2525 strictEqual ( context . report . mock . calls [ 0 ] . arguments [ 0 ] . level , 'warn' ) ;
2626 } ) ;
2727
28- it ( 'should not report llmDescription when paragraph fallback exists' , ( ) => {
28+ it ( 'should not report llm_description when paragraph fallback exists' , ( ) => {
2929 const context = createContext ( [
3030 { type : 'html' , value : '<!--introduced_in=12.0.0-->' } ,
3131 { type : 'paragraph' , children : [ { type : 'text' , value : 'desc' } ] } ,
@@ -42,9 +42,9 @@ describe('missingMetadata', () => {
4242 strictEqual ( context . report . mock . callCount ( ) , 2 ) ;
4343 } ) ;
4444
45- it ( 'should report only introduced_in when llmDescription is present' , ( ) => {
45+ it ( 'should report only introduced_in when llm_description is present' , ( ) => {
4646 const context = createContext ( [
47- { type : 'html' , value : '<!--llmDescription: desc-->' } ,
47+ { type : 'html' , value : '<!--llm_description= desc-->' } ,
4848 ] ) ;
4949
5050 missingMetadata ( context ) ;
0 commit comments