diff --git a/test/spec/ViewerSpec.js b/test/spec/ViewerSpec.js index c4decacf..46f46dc7 100644 --- a/test/spec/ViewerSpec.js +++ b/test/spec/ViewerSpec.js @@ -823,6 +823,8 @@ describe('Viewer', function() { expect(definitions).to.equal(viewer.getDefinitions()); + expect(viewer.get('elementRegistry').getAll()).to.have.lengthOf(28); + done(); });