* Creates a utility method `jsdomIt` that overrides `it` from `vitest` and fakes a browser environment by :
* Creating a DOM with `jsdom` (and `canvas`)
* Adding (for the duration of the test) that DOM's `window` and `document` on `global`
* Monkey-patching DOM methods that require a rendering engine (`Element.getBBox` & `Element.getComputedLength`)
* Removes all d3 mocking since it can now work normally in `jsdomIt` tests
* Re-writes existing rendering tests to :
* Use `jsdomIt`
* Get rid of most of the involved mocking
* Run `expect` calls on the generated SVG instead
Inspired by d3's own test code mocking : https://github.com/d3/d3-selection/blob/v3.0.0/test/jsdom.js
* develop: (266 commits)
chore: update E2E timings
docs: Update changeset
fix: Add useful error message to test
chore: Add treemap example
chore: Add treemap example
chore: Add peerDependency to @mermaid-js/examples
Version Packages
docs: Update changeset
update in changeset
updated validaor and tests to use treemap
Updated parser to use treemap
chore: Fail build in CI on type errors
fix text going outside node
Version Packages
Updated phpbb url to support 403 in lychee
Updated lychee for working url phpbb.com
resolve PR comment
resolve PR comments
chore: update E2E timings
add changeset
...
* develop: (198 commits)
Version Packages
docs: Update changeset
update in changeset
updated validaor and tests to use treemap
Updated parser to use treemap
chore: Fail build in CI on type errors
Version Packages
Updated phpbb url to support 403 in lychee
Updated lychee for working url phpbb.com
resolve PR comment
resolve PR comments
chore: update E2E timings
add changeset
log warning when duplicate commit IDs are encountered
Added updated chatgpt plugin url and removed failing url
Added classes and outernodes in imperativestate
Updated code as per suggestions
fixed unwanted vitepress from lockfile
Updated as per suggestions
Added step to install pnpm and echo statements for debugging.
...
* master: (46 commits)
Add canonicals to pages migrated to docs.mermaidchart.com
chore: minor update
chore: dynamically change text size depending on route
chore: update text size to lg
chore: remove tooltip
chore: update as per PR comment
chore: Update banner ad
chore: Use mermaid.live as fallback links in button
chore: Tweak shadows
chore : fix UI
chore: Update URL
chore: UI refactor
chore: Update UI design
chore: removed index and used flag
chore: code refactor
chore: Update as per PR suggestion.
chore: add event listener for button.
Feat: Add editor popup modal
Skip foswiki link check
feat: Pause animation when hovering
...