mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
Re-enable rule prefer-destructuring (only for objects) (#10867)
This commit is contained in:
committed by
GitHub
parent
c51168a30a
commit
352e8a1afd
@@ -103,7 +103,7 @@ describe('dashboardState actions', () => {
|
||||
const thunk = saveDashboardRequest(newDashboardData, 1, 'save_dash');
|
||||
thunk(dispatch, getState);
|
||||
expect(postStub.callCount).toBe(1);
|
||||
const postPayload = postStub.getCall(0).args[0].postPayload;
|
||||
const { postPayload } = postStub.getCall(0).args[0];
|
||||
expect(postPayload.data.positions[DASHBOARD_GRID_ID].parents).toBe(
|
||||
mockParentsList,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user