* develop:
chore: Update jsdom
Update @argos-ci/cypress to v5.0.2
Update @argos-ci/cypress to v5.0.1
chore: Upgrade cypress
chore: Update @argos-ci/cypress to v5
chore(test): Finish refactoring of jsdomit tests
docs(tests): Documentation for `jsdomIt` tests
test(refactor): Provide SVG selection in `jsdomIt` function
test(refactor): Use real-ish rendering instead of heavy mocking in unit tests
* 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.
...