react native tdd emzyme code example
Example: react native tdd emzyme
it('renders the value of displayValue', () => {
wrapper.setProps({ displayValue: 'test' });
expect(wrapper.text()).toEqual('test');
});
it('renders the value of displayValue', () => {
wrapper.setProps({ displayValue: 'test' });
expect(wrapper.text()).toEqual('test');
});