This commit is contained in:
Devin Howard 2017-05-06 18:55:36 -07:00
parent 4abdc74750
commit 198af3e6cc

View file

@ -26,8 +26,16 @@ describe('ImportDialogBox', function() {
expect(exporter).to.have.property('callCount', 1) expect(exporter).to.have.property('callCount', 1)
}) })
} }
testExportButton('has an Export CSV button', '.export-csv', csvExport) testExportButton({
testExportButton('has an Export JSON button', '.export-json', jsonExport) description: 'has an Export CSV button',
cssClass: '.export-csv',
exporter: csvExport
})
testExportButton({
description: 'has an Export JSON button',
cssClass: '.export-json',
exporter: jsonExport
})
it('has a Download screenshot button', () => { it('has a Download screenshot button', () => {
const downloadScreenshot = sinon.spy() const downloadScreenshot = sinon.spy()