Items 1-12 out of 250 displayed
You should use background:red instead of background-color:red
Create jest-setup.js file (if already not exists) and add following lines in that
import { NativeModules } from 'react-native';
NativeModules.ReactLocalization...
squareSize = 19;
square
.attr(x, function(d){ return x(d) - squareSize/2;})
.attr(y, function(d){return y(statusText) - squareSize/2;} )
.attr(width,squareSize)...
There are multiple .box
items, you have to select one of them, say the first one:
wrapper.find('.box').at(0).simulate('click');
var name = element.getAttribute(name);