fix
This commit is contained in:
parent
4abdc74750
commit
198af3e6cc
1 changed files with 10 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue