Skip to content

Commit

Permalink
fix(annotations): Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingze Xiao committed May 6, 2020
1 parent 3b4858f commit 3f3fcce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/viewers/__tests__/BaseViewer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ describe('lib/viewers/BaseViewer', () => {
base.annotationControls = {
resetControls: sandbox.mock(),
};
base.options.showAnnotationsControls = true;
sandbox.stub(base, 'areNewAnnotationsEnabled').returns(true);

base.handleFullscreenEnter();

Expand All @@ -558,7 +558,7 @@ describe('lib/viewers/BaseViewer', () => {
base.annotator = {
emit: sandbox.mock(),
};
base.options.showAnnotationsControls = true;
sandbox.stub(base, 'areNewAnnotationsEnabled').returns(true);

base.handleFullscreenExit();

Expand Down

0 comments on commit 3f3fcce

Please sign in to comment.