소스 검색

wip: tests

Torkel Ödegaard 6 년 전
부모
커밋
1fbdd02464
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      public/app/core/redux/index.ts
  2. 2 2
      public/app/features/dashboard/containers/DashboardPage.tsx

+ 1 - 1
public/app/core/redux/index.ts

@@ -1,2 +1,2 @@
-export { actionCreatorFactory, noPayloadActionCreatorFactory, ActionOf } from './actionCreatorFactory';
+export { actionCreatorFactory, noPayloadActionCreatorFactory, ActionOf, ActionCreator } from './actionCreatorFactory';
 export { reducerFactory } from './reducerFactory';

+ 2 - 2
public/app/features/dashboard/containers/DashboardPage.tsx

@@ -25,7 +25,7 @@ import { notifyApp } from 'app/core/actions';
 import { StoreState, DashboardLoadingState, DashboardRouteInfo } from 'app/types';
 import { DashboardModel, PanelModel } from 'app/features/dashboard/state';
 
-interface Props {
+export interface Props {
   urlUid?: string;
   urlSlug?: string;
   urlType?: string;
@@ -46,7 +46,7 @@ interface Props {
   updateLocation: typeof updateLocation;
 }
 
-interface State {
+export interface State {
   isSettingsOpening: boolean;
   isEditing: boolean;
   isFullscreen: boolean;