diff options
author | David Tsay <david.e.tsay@nasa.gov> | 2021-08-17 03:33:08 +0300 |
---|---|---|
committer | David Tsay <david.e.tsay@nasa.gov> | 2021-08-17 22:47:28 +0300 |
commit | 8e3cd7d08bcdb7d296ec2841a065bf082072ea4a (patch) | |
tree | 0dcab2e339649001a872f43e405775e0c365c933 | |
parent | e0a3a8ca68c131b4831af7b7ed2241d1fff0b3d3 (diff) |
silence component errorvista-r4.8.0-rc5
-rw-r--r-- | src/ui/layout/LayoutSpec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/layout/LayoutSpec.js b/src/ui/layout/LayoutSpec.js index d3e1f1489..1f0ecd3cc 100644 --- a/src/ui/layout/LayoutSpec.js +++ b/src/ui/layout/LayoutSpec.js @@ -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(); }); |