test(Viewer): verify editor action support

This commit is contained in:
Nico Rehwaldt 2018-10-27 00:52:10 +02:00 committed by merge-me[bot]
parent a348092230
commit b60feba531
1 changed files with 17 additions and 0 deletions

View File

@ -114,6 +114,23 @@ describe('Viewer', function() {
}); });
describe('editor actions support', function() {
it('should not ship per default', function() {
// given
var viewer = new Viewer();
// when
var editorActions = viewer.get('editorActions', false);
// then
expect(editorActions).not.to.exist;
});
});
describe('error handling', function() { describe('error handling', function() {
function expectMessage(e, expectedMessage) { function expectMessage(e, expectedMessage) {