Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tsay <david.e.tsay@nasa.gov>2021-08-17 03:33:08 +0300
committerDavid Tsay <david.e.tsay@nasa.gov>2021-08-17 22:47:28 +0300
commit8e3cd7d08bcdb7d296ec2841a065bf082072ea4a (patch)
tree0dcab2e339649001a872f43e405775e0c365c933
parente0a3a8ca68c131b4831af7b7ed2241d1fff0b3d3 (diff)
silence component errorvista-r4.8.0-rc5
-rw-r--r--src/ui/layout/LayoutSpec.js5
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();
});