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 */ /* eslint-env jest */
let NewD3 = function () { let NewD3 = function () {
function returnThis () {
return this
}
return { return {
append: function () { append: function () {
return NewD3() return NewD3()
}, },
lower: function () { lower: returnThis,
return this attr: returnThis,
}, style: returnThis,
attr: function () { text: returnThis,
return this
},
style: function () {
return this
},
text: function () {
return this
},
0: { 0: {
0: { 0: {
getBBox: function () { getBBox: function () {