Update packages and remove the instrument step (#854)

* several updates
* avoid the instrumented step in tests
This commit is contained in:
JFH
2022-11-27 23:01:27 +01:00
committed by GitHub
parent c0d0db4d7e
commit 00a7d61122
68 changed files with 1472 additions and 765 deletions

View File

@@ -1,5 +1,5 @@
/* eslint-disable max-len, no-console */
import SvgCanvas from '../../../instrumented/svgcanvas/svgcanvas.js'
import SvgCanvas from '../../../packages/svgcanvas/svgcanvas.js'
describe('Basic Module', function () {
// helper functions
@@ -148,7 +148,7 @@ describe('Basic Module', function () {
it('Test importing/exporting namespaced attributes', function () {
/* const setStr = */ svgCanvas.setSvgString(
'<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:se="http://svg-edit.googlecode.com" xmlns:foo="http://example.com">' +
'<image xlink:href="../editor/images/logo.png"/>' +
'<image xlink:href="/src/editor/images/logo.svg"/>' +
'<polyline id="se_test_elem" se:foo="bar" foo:bar="baz"/>' +
'</svg>'
)