jest babel webpack how to

I am investigating Jest as Alternativa Mocha with Karma. Simple examples work well using Jest. Right now I need to test a web component compiled by Babel and bundled by Webpack. I am looking at the official Webpack documentation and I do not understand how It(Webpack) is even attached. Does somebody have a link to the project starter? I will be pleased for any tip.