Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
pureElements.forEach((el, i) => (spies[i] = sinon.spy(el.prototype, 'render')));
axisSpy = sinon.spy(CartesianAxis.prototype, 'render');
});
afterEach(() => {
beforeEach(() => {
pureElements.forEach((el, i) => (spies[i] = sinon.spy(el.prototype, 'render')));
axisSpy = sinon.spy(CartesianAxis.prototype, 'render');
});
afterEach(() => {
beforeEach(() => {
pureElements.forEach((el, i) => (spies[i] = sinon.spy(el.prototype, 'render')));
axisSpy = sinon.spy(CartesianAxis.prototype, 'render');
});
afterEach(() => {