diff --git a/packages/mermaid/src/diagrams/class/classDiagramGrammar.spec.ts b/packages/mermaid/src/diagrams/class/classDiagramGrammar.spec.ts deleted file mode 100644 index f7d93741a..000000000 --- a/packages/mermaid/src/diagrams/class/classDiagramGrammar.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { readFile } from 'node:fs/promises'; -import { fileURLToPath } from 'node:url'; -// @ts-ignore - no types -import { LALRGenerator } from 'jison'; - -const getAbsolutePath = (relativePath: string) => { - return fileURLToPath(new URL(relativePath, import.meta.url)); -}; - -describe('class diagram grammar', function () { - it('should have no conflicts', async function () { - const grammarSource = await readFile(getAbsolutePath('./parser/classDiagram.jison'), 'utf8'); - const grammarParser = new LALRGenerator(grammarSource, {}); - expect(grammarParser.conflicts).toBe(0); - }); -});