Skip to content

Commit

Permalink
geosolutions-it#9683: remove unused comments in dashboard-test file
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudadel54 committed Nov 15, 2023
1 parent 003ee88 commit c71fab5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web/client/epics/__tests__/dashboard-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ describe('saveDashboard', () => {
const startActions = [saveDashboard(RESOURCE)];
testEpic(saveDashboardMethod, actionsCount, startActions, actions => {
expect(actions.length).toBe(2);
// expect(actions[0].type).toBe(DASHBOARD_LOADING);
// expect(actions[0].value).toBe(true);
expect(actions[0].type).toBe(SAVE_ERROR);
expect(
actions[0].error.status === 403
Expand All @@ -365,8 +363,6 @@ describe('saveDashboard', () => {
const startActions = [saveDashboard(withoutMetadata)];
testEpic(saveDashboardMethod, actionsCount, startActions, actions => {
expect(actions.length).toBe(2);
// expect(actions[0].type).toBe(DASHBOARD_LOADING);
// expect(actions[0].value).toBe(true);
expect(actions[0].type).toBe(SAVE_ERROR);
expect(typeof(actions[0].error) === 'string').toBeTruthy();
expect(actions[1].type).toBe(DASHBOARD_LOADING);
Expand Down

0 comments on commit c71fab5

Please sign in to comment.