File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
test-packages/package-test-core/__tests__/language-server Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,25 @@ describe('Language Server: Hover (ts plugin)', () => {
130130 ` ) ;
131131 } ) ;
132132
133+ describe ( 'MathML' , ( ) => {
134+ test ( 'empty <math>' , async ( ) => {
135+ const [ offset , content ] = extractCursor ( stripIndent `
136+ <template>
137+ <ma%th>
138+ </math>
139+ </template>
140+ ` ) ;
141+
142+ const doc = await prepareDocument (
143+ 'ts-template-imports-app/src/ephemeral.gts' ,
144+ 'glimmer-ts' ,
145+ content ,
146+ ) ;
147+
148+ expect ( await performHoverRequest ( doc , offset ) ) . toMatchInlineSnapshot ( ) ;
149+ } ) ;
150+ } ) ;
151+
133152 describe . skip ( 'JS in a TS project' , ( ) => {
134153 test ( 'with allowJs: true' , async ( ) => {
135154 const [ offset , content ] = extractCursor ( stripIndent `
You can’t perform that action at this time.
0 commit comments