Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Aug 12, 2024
1 parent a4d6cc9 commit ee66750
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/language-server/test/document-symbols.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test('resolve document symbols', async () => {
children: []
},
{
name: '## > ## Heading inside a block quote',
name: '## Heading inside a block quote',
kind: SymbolKind.String,
range: {
start: {line: 43, character: 0},
Expand Down
6 changes: 0 additions & 6 deletions packages/language-service/lib/virtual-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,42 +716,36 @@ export class VirtualMdxCode {
#processor
#checkMdx
#jsxImportSource

/**
* The mdast of the document, but only if it’s valid.
*
* @type {Root | undefined}
*/
ast

/**
* The virtual files embedded in the MDX file.
*
* @type {VirtualCode[]}
*/
embeddedCodes = []

/**
* The error that was throw while parsing.
*
* @type {VFileMessage | undefined}
*/
error

/**
* The file ID.
*
* @type {'mdx'}
*/
id = 'mdx'

/**
* The language ID.
*
* @type {'mdx'}
*/
languageId = 'mdx'

/**
* The code mappings of the MDX file. There is always only one mapping.
*
Expand Down

0 comments on commit ee66750

Please sign in to comment.