Hi everyone,
There were a few questions about jest and babylon, and how to use jest, testing your project that uses babylon.
I have added a jest configuration to my babylon template:
babylonjs-webpack-es6/jest.config.js at master · RaananW/babylonjs-webpack-es6 (github.com)
It currently only runs this (very unneeded!) test:
babylonjs-webpack-es6/createScene.unit.test.ts at master · RaananW/babylonjs-webpack-es6 · GitHub
But it should support any (esm) project configuration.
If you have issues, update me, show me examples, show me the errors. I’d be happy to debug it