Skip to content

Commit

Permalink
test: check if viewer does not include outline by default
Browse files Browse the repository at this point in the history
related to #2135
  • Loading branch information
misiekhardcore committed Oct 31, 2024
1 parent 3bb4817 commit f3180b3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/spec/ViewerSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ describe('Viewer', function() {
});


it('should not include Outline module by default', function() {

// given
var viewer = new Viewer({ container: container });

// when
var outline = viewer.get('outline',false);

// then
expect(outline).not.to.exist;
});


describe('overlay support', function() {

it('should allow to add overlays', function() {
Expand Down

0 comments on commit f3180b3

Please sign in to comment.