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 May 18, 2023
1 parent 5837be4 commit 16934cf
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 16934cf

Please sign in to comment.