Skip to content

Commit

Permalink
silence component error
Browse files Browse the repository at this point in the history
  • Loading branch information
davetsay committed Aug 17, 2021
1 parent e0a3a8c commit 8e3cd7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/layout/LayoutSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ describe('Open MCT Layout:', () => {
openmct = createOpenMct();
openmct.on('start', done);

// spyOn(openmct.objectViews, 'get')
// .and.callFake(() => Promise.resolve([]));
// to silence error from BrowseBar.vue
spyOn(openmct.objectViews, 'get')
.and.callFake(() => []);

openmct.startHeadless();
});
Expand Down

0 comments on commit 8e3cd7d

Please sign in to comment.