You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReact,{View}from'react-native';import{shallow}from'enzyme';import{expect}from'chai';importCommentfrom'./Comment';describe('<comment>',()=>{if('shoulw be a view component',()=>{constwrapper=shallow(<Comment></Comment>);expect(wrapper.type()).to.equal(View);});});
still passing. Event with incorrect tags inside shallow it still works. Hot to break it? The idea - first get test red. and only further start developing
The text was updated successfully, but these errors were encountered:
Event with blank file
Component.js
initial teststill passing. Event with incorrect tags inside
shallow
it still works. Hot to break it? The idea - first get test red. and only further start developingThe text was updated successfully, but these errors were encountered: