From 5682b7bc59f9990db9bd4223e040170dff00e3ae Mon Sep 17 00:00:00 2001
From: JFH <20402845+jfhenon@users.noreply.github.com>
Date: Mon, 31 May 2021 00:10:26 +0200
Subject: [PATCH] restore 2 tests and fix snapshot
---
badges/tests-badge.svg | 2 +-
cypress/integration/ui/__snapshots__/scenario.js.snap | 8 --------
cypress/integration/unit/utilities-bbox.js | 4 ++--
3 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/badges/tests-badge.svg b/badges/tests-badge.svg
index ecc8fc46..61b3e08c 100644
--- a/badges/tests-badge.svg
+++ b/badges/tests-badge.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/cypress/integration/ui/__snapshots__/scenario.js.snap b/cypress/integration/ui/__snapshots__/scenario.js.snap
index 37b89438..c148fed7 100644
--- a/cypress/integration/ui/__snapshots__/scenario.js.snap
+++ b/cypress/integration/ui/__snapshots__/scenario.js.snap
@@ -221,7 +221,6 @@ exports[`use various parts of svg-edit > check tool_italic #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -286,7 +285,6 @@ exports[`use various parts of svg-edit > check tool_bold #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -351,7 +349,6 @@ exports[`use various parts of svg-edit > check change color #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -416,7 +413,6 @@ exports[`use various parts of svg-edit > check tool_text_anchor_start #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -481,7 +477,6 @@ exports[`use various parts of svg-edit > check tool_text_anchor_middle #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -546,7 +541,6 @@ exports[`use various parts of svg-edit > check tool_text_anchor_end #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -611,7 +605,6 @@ exports[`use various parts of svg-edit > check tool_star #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
@@ -701,7 +694,6 @@ exports[`use various parts of svg-edit > check tool_polygon #0`] = `
fill-opacity="1"
stroke-opacity="1"
id="svg_2"
- transform="matrix(1 0 0 1 0 0)"
>
AB
diff --git a/cypress/integration/unit/utilities-bbox.js b/cypress/integration/unit/utilities-bbox.js
index b3497053..e76d12b1 100644
--- a/cypress/integration/unit/utilities-bbox.js
+++ b/cypress/integration/unit/utilities-bbox.js
@@ -149,7 +149,7 @@ describe('utilities bbox', function () {
g.remove();
});
- it.skip('Test getBBoxWithTransform and a rotation transform', function () {
+ it('Test getBBoxWithTransform and a rotation transform', function () {
const { getBBoxWithTransform } = utilities;
let elem = mockCreateSVGElement({
@@ -231,7 +231,7 @@ describe('utilities bbox', function () {
elem.remove();
});
- it.skip('Test getBBoxWithTransform with rotation and matrix transforms', function () {
+ it('Test getBBoxWithTransform with rotation and matrix transforms', function () {
const { getBBoxWithTransform } = utilities;
let tx = 10; // tx right