Browse Source

Update config mock in metrics panel controller test

Dominik Prokop 6 years ago
parent
commit
512aa62efc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      public/app/features/panel/specs/metrics_panel_ctrl.test.ts

+ 3 - 0
public/app/features/panel/specs/metrics_panel_ctrl.test.ts

@@ -1,6 +1,9 @@
 jest.mock('app/core/core', () => ({}));
 jest.mock('app/core/config', () => {
   return {
+    bootData: {
+      user: {},
+    },
     panels: {
       test: {
         id: 'test',