Skip to content

Commit

Permalink
Skip dashboard state unit test
Browse files Browse the repository at this point in the history
Will revisit when the proper state management is added.

Signed-off-by: abbyhu2000 <[email protected]>
  • Loading branch information
abbyhu2000 committed Jun 1, 2023
1 parent a121e6f commit 3f8e063
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/

import { createBrowserHistory } from 'history';
import { DashboardStateManager } from './dashboard_state_manager';
// import { DashboardStateManager } from './dashboard_state_manager';
import { getSavedDashboardMock } from './test_helpers';
import { InputTimeRange, TimefilterContract, TimeRange } from 'src/plugins/data/public';
import { ViewMode } from 'src/plugins/embeddable/public';
Expand All @@ -38,7 +38,10 @@ import { DashboardContainer, DashboardContainerInput } from '.';
import { DashboardContainerOptions } from './embeddable/dashboard_container';
import { embeddablePluginMock } from '../../../embeddable/public/mocks';

describe('DashboardState', function () {
// TODO:
// This unit test will fail because we delete the dashboard state manager
// Will revisit this when we implement the new state management
describe.skip('DashboardState', function () {
let dashboardState: DashboardStateManager;
const savedDashboard = getSavedDashboardMock();

Expand Down

0 comments on commit 3f8e063

Please sign in to comment.