mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-26 08:49:37 +00:00
test(Viewer): verify editor action support
This commit is contained in:
parent
a348092230
commit
b60feba531
@ -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() {
|
||||
|
||||
function expectMessage(e, expectedMessage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user