npm update + fix linked to this update
found an issue with eslint when empty comments were used.
This commit is contained in:
@@ -28,7 +28,7 @@ describe('utilities', function () {
|
||||
svgroot.append(elem);
|
||||
return elem;
|
||||
}
|
||||
const mockPathActions = {resetOrientation () { /* */ }};
|
||||
const mockPathActions = {resetOrientation () { /* empty fn */ }};
|
||||
let mockHistorySubCommands = [];
|
||||
const mockHistory = {
|
||||
BatchCommand: class {
|
||||
@@ -101,7 +101,7 @@ describe('utilities', function () {
|
||||
it('Test svgedit.utilities package', function () {
|
||||
assert.ok(utilities);
|
||||
assert.ok(utilities.toXml);
|
||||
assert.equal(typeof utilities.toXml, typeof function () { /* */ });
|
||||
assert.equal(typeof utilities.toXml, typeof function () { /* empty fn */ });
|
||||
});
|
||||
|
||||
it('Test svgedit.utilities.toXml() function', function () {
|
||||
|
||||
Reference in New Issue
Block a user