mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
537a627b75
Sometimes, the mindmap e2e tests take a snapshot when the mindmap SVG has been created, but hasn't yet been fully rendered. This adds a quick check for a mindmap section root, so that the snapshot is only taken after the mindmap diagram has started rendering. I was also running into JSDoc ESLint warnings, so I moved the file into a TypeScript file to fix those warnings.
9 lines
144 B
JSON
9 lines
144 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"lib": ["es2020", "dom"],
|
|
"types": ["cypress", "node"]
|
|
},
|
|
"include": ["**/*.ts"]
|
|
}
|