The reaction-factories package supplies
faker with additional methods for testing Reaction packages.
The recommended way to create shop:
const shopId = ReactionFaker.shops.getShop()._id;
It checks whether already there is a shop and use it if so, in other case it creates the new one
The recommended way to create product:
const product = ReactionFaker.products.add();
It creates product with top-level variant and 2 options.
Additional custom faker methods added: