Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
} else {
t.pass("onLoad wasn't called");
}
checkRenderResult();
t.end();
}
const props = Object.assign({}, testCase.props, {onLoad});
const map = ;
result = ReactTestRenderer.create(map);
t.ok(result, 'InteractiveMap rendered');
if (!InteractiveMap.supported()) {
t.ok('onLoad not called since InteractiveMap.supported() false');
t.end();
} else {
timer = setTimeout(onTimeout, 5000);
}
});
});