fix: workaround for function 25 line limit

This commit is contained in:
Alexander Sage 2019-07-23 21:33:03 -07:00
parent 8f6d148481
commit b5e3323a93

19
__mocks__/d3.js vendored
View File

@ -1,21 +1,16 @@
/* eslint-env jest */
let NewD3 = function () {
function returnThis () {
return this
}
return {
append: function () {
return NewD3()
},
lower: function () {
return this
},
attr: function () {
return this
},
style: function () {
return this
},
text: function () {
return this
},
lower: returnThis,
attr: returnThis,
style: returnThis,
text: returnThis,
0: {
0: {
getBBox: function () {