Skip to content

Commit 0d0ebe3

Browse files
committed
Hover on <math> does not work
1 parent 72b1580 commit 0d0ebe3

File tree

1 file changed

+20
-0
lines changed
  • test-packages/package-test-core/__tests__/language-server

1 file changed

+20
-0
lines changed

test-packages/package-test-core/__tests__/language-server/hover.test.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,26 @@ describe('Language Server: Hover (ts plugin)', () => {
130130
`);
131131
});
132132

133+
134+
describe('MathML', () => {
135+
test('empty <math>', async () => {
136+
const [offset, content] = extractCursor(stripIndent`
137+
<template>
138+
<ma%th>
139+
</math>
140+
</template>
141+
`);
142+
143+
const doc = await prepareDocument(
144+
'ts-template-imports-app/src/ephemeral.gts',
145+
'glimmer-ts',
146+
content,
147+
);
148+
149+
expect(await performHoverRequest(doc, offset)).toMatchInlineSnapshot();
150+
});
151+
});
152+
133153
describe.skip('JS in a TS project', () => {
134154
test('with allowJs: true', async () => {
135155
const [offset, content] = extractCursor(stripIndent`

0 commit comments

Comments
 (0)