From ec087f6cc91e4c4555f8985943875995c9b5303b Mon Sep 17 00:00:00 2001 From: Yan MATAGNE Date: Wed, 20 Sep 2017 08:53:08 -0400 Subject: [PATCH] fix(export_to_png): Add button on slice component for export D3 svg to png file --- superset/assets/spec/javascripts/dashboard/SliceCell_spec.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/assets/spec/javascripts/dashboard/SliceCell_spec.jsx b/superset/assets/spec/javascripts/dashboard/SliceCell_spec.jsx index 8dbf661d20788..c9b1f266e1452 100644 --- a/superset/assets/spec/javascripts/dashboard/SliceCell_spec.jsx +++ b/superset/assets/spec/javascripts/dashboard/SliceCell_spec.jsx @@ -17,8 +17,8 @@ describe('SliceCell', () => { React.isValidElement(), ).to.equal(true); }); - it('renders six links', () => { + it('renders seven links', () => { const wrapper = mount(); - expect(wrapper.find('a')).to.have.length(6); + expect(wrapper.find('a')).to.have.length(7); }); });