Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach('render and locate element', function(done){
let testStores = [ContentModuleStore];
let context = createMockComponentContext({
stores : testStores
});
let testComponent = provideContext(connectToStores(component, testStores, function(){
return {};
}));
component = TestUtils.renderIntoDocument();
done();
});