DZ
Size: a a a
DZ
AR
DZ
С
DB
С
SS
DZ
DZ
SG
S
const testSquares = shallow(<Squares {...nextProps} />);
и при использовании метода debug в тесте — в консоле отрисовывает компонент.const testSquares = render(<Squares {...nextProps} />);
, то мне выдает ошибку при debug:TypeError: testSquares.debug is not a functionСам тест:
it('table render', () => {
expect(testSquares.find('table'));
console.log(testSquares.debug());
});S
screensData[appState.currentEditingScreen].backgroundURL = this.state.bgPhotoURLD
MK
screensData[appState.currentEditingScreen].backgroundURL = this.state.bgPhotoURLOT
/show/details/${id}, теперь нужно /show/details/ заменить на константу routes.DETAILSSB
/show/details/${id}, теперь нужно /show/details/ заменить на константу routes.DETAILS`${routes.DETAILS}${id}`OT
`${routes.DETAILS}${id}`RS
SS
RS