npm update + fix linked to this update
found an issue with eslint when empty comments were used.
This commit is contained in:
@@ -73,7 +73,7 @@ describe('svgtransformlist', function () {
|
||||
const t = svgcontent.createSVGTransform();
|
||||
assert.ok(t);
|
||||
assert.ok(rxform.initialize);
|
||||
assert.equal(typeof rxform.initialize, typeof function () { /* */ });
|
||||
assert.equal(typeof rxform.initialize, typeof function () { /* empty fn */ });
|
||||
rxform.initialize(t);
|
||||
assert.equal(rxform.numberOfItems, 1);
|
||||
assert.equal(cxform.numberOfItems, 0);
|
||||
@@ -96,8 +96,8 @@ describe('svgtransformlist', function () {
|
||||
|
||||
assert.ok(rxform.appendItem);
|
||||
assert.ok(rxform.getItem);
|
||||
assert.equal(typeof rxform.appendItem, typeof function () { /* */ });
|
||||
assert.equal(typeof rxform.getItem, typeof function () { /* */ });
|
||||
assert.equal(typeof rxform.appendItem, typeof function () { /* empty fn */ });
|
||||
assert.equal(typeof rxform.getItem, typeof function () { /* empty fn */ });
|
||||
|
||||
rxform.appendItem(t1);
|
||||
rxform.appendItem(t2);
|
||||
@@ -127,7 +127,7 @@ describe('svgtransformlist', function () {
|
||||
const t1 = svgcontent.createSVGTransform(),
|
||||
t2 = svgcontent.createSVGTransform();
|
||||
assert.ok(rxform.removeItem);
|
||||
assert.equal(typeof rxform.removeItem, typeof function () { /* */ });
|
||||
assert.equal(typeof rxform.removeItem, typeof function () { /* empty fn */ });
|
||||
rxform.appendItem(t1);
|
||||
rxform.appendItem(t2);
|
||||
|
||||
@@ -145,7 +145,7 @@ describe('svgtransformlist', function () {
|
||||
const cxform = transformlist.getTransformList(circle);
|
||||
|
||||
assert.ok(rxform.replaceItem);
|
||||
assert.equal(typeof rxform.replaceItem, typeof function () { /* */ });
|
||||
assert.equal(typeof rxform.replaceItem, typeof function () { /* empty fn */ });
|
||||
|
||||
const t1 = svgcontent.createSVGTransform(),
|
||||
t2 = svgcontent.createSVGTransform(),
|
||||
@@ -177,7 +177,7 @@ describe('svgtransformlist', function () {
|
||||
const cxform = transformlist.getTransformList(circle);
|
||||
|
||||
assert.ok(rxform.insertItemBefore);
|
||||
assert.equal(typeof rxform.insertItemBefore, typeof function () { /* */ });
|
||||
assert.equal(typeof rxform.insertItemBefore, typeof function () { /* empty fn */ });
|
||||
|
||||
const t1 = svgcontent.createSVGTransform(),
|
||||
t2 = svgcontent.createSVGTransform(),
|
||||
|
||||
Reference in New Issue
Block a user