Hexastack / eazychart

EazyChart is a reactive chart library 📈, it allows you to easily add SVG charts in your React and Vue web applications.
https://eazychart.com
MIT License
23 stars 14 forks source link

Fix/jest svg tag warning #75

Closed yassinedorbozgithub closed 2 years ago

yassinedorbozgithub commented 2 years ago

Motivation

React unit tests are emitting warning about svg tags not recognized by the browser. I believe that it has something to do with JEST that needs to be configured with the "dom" lib. (Description from the issue) This PR fixes this issue.

Fixes #50

Type of change

Please delete options that are not relevant.

Checklist:

marrouchi commented 2 years ago

@yassinedorbozgithub There's already a PR that addresses this issue https://github.com/Hexastack/eazychart/pull/70 to avoid this many changes.

marrouchi commented 2 years ago

@yassinedorbozgithub Will be closed in favor of @G0