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]>
abbyhu2000 committed Jul 7, 2023
1 parent b6a783d commit 527dc99
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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';
@@ -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();

0 comments on commit 527dc99

Please sign in to comment.