From f44612e7a220e8d7de64eb2ee2c818f5222f82c5 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 21 Mar 2021 09:26:57 +0200 Subject: [PATCH] addClassesToSVGElement: add one more test (#1441) --- test/plugins/addClassesToSVGElement.01.svg | 4 ++++ test/plugins/addClassesToSVGElement.02.svg | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 test/plugins/addClassesToSVGElement.02.svg diff --git a/test/plugins/addClassesToSVGElement.01.svg b/test/plugins/addClassesToSVGElement.01.svg index 496864d96..8f3468dd4 100644 --- a/test/plugins/addClassesToSVGElement.01.svg +++ b/test/plugins/addClassesToSVGElement.01.svg @@ -1,3 +1,7 @@ +Should add classes when passed as a classNames Array + +=== + test diff --git a/test/plugins/addClassesToSVGElement.02.svg b/test/plugins/addClassesToSVGElement.02.svg new file mode 100644 index 000000000..f21a9a3d8 --- /dev/null +++ b/test/plugins/addClassesToSVGElement.02.svg @@ -0,0 +1,17 @@ +Should add class when passed as a className String + +=== + + + test + + +@@@ + + + test + + +@@@ + +{"className":"mySvg"}