File tree Expand file tree Collapse file tree 1 file changed +0
-58
lines changed Expand file tree Collapse file tree 1 file changed +0
-58
lines changed Original file line number Diff line number Diff line change @@ -122,61 +122,3 @@ describe('Left reducers', () => {
122
122
// });
123
123
// NEXT TEST
124
124
} ) ;
125
- // // // declaring initial state
126
- // let state: any;
127
- // beforeEach(() => {
128
- // state = {
129
- // editMode: -1,
130
- // testing: 'testingReducer',
131
- // codeReadOnly: true,
132
- // components: [
133
- // {
134
- // changed: true,
135
- // childrenArray: [{}],
136
- // classBased: false,
137
- // code: '....',
138
- // color: '#FF6D00',
139
- // focusChild: {},
140
- // focusChildId: -1,
141
- // id: 1,
142
- // nextChildId: 3,
143
- // nextPropId: 2,
144
- // position: {
145
- // height: 850,
146
- // width: 500,
147
- // x: 70,
148
- // y: 100
149
- // },
150
- // props: [],
151
- // stateful: false,
152
- // title: 'App'
153
- // }
154
- // ],
155
- // focusComponent: 'App'
156
- // };
157
- // });
158
- // describe('changeFocusComponent reducer', () => {
159
- // // eslint-disable-next-line no-unused-expressions
160
- // it('update the Focus Component in state', () => {
161
- // // self-contained actions types
162
- // // // self contained actions
163
- // const action = {
164
- // type: types.CHANGE_FOCUS_COMPONENT,
165
- // payload: { title: 'NOT-COMPONENT' }
166
- // };
167
- // const newState = reducers.changeFocusComponent(state, action.payload);
168
- // expect(newState).toStrictEqual(state);
169
- // // (initialState.focusComponent.title).not.toStrictEqual(
170
- // // newState.focusComponent.title
171
- // // );
172
- // // expect(
173
- // // reducers.changeFocusComponent([], {
174
- // // type: types.CHANGE_FOCUS_COMPONENT,
175
- // // title: 'TEST_CHANGE_FOCUS_APP'
176
- // // })
177
- // // ).not.toEqual([initialState]);
178
- // // take previous snapshot of component then compare it to itself
179
- // });
180
- // // return an expect new state to strictly equal
181
- // });
182
- // });
You can’t perform that action at this time.
0 commit comments