I am quite new to Three.js and Java Script, and need some help regarding testing.
I am using Three.js is an Electron app, but wish to test code separately, probably using a web browser.
My code under test takes in a WebGLRenderer-element, and I have issues creating this renderer.
I am currently using Mocha as test framework. I believe I get stuck on how to open a browser window in the beginning of my test, to access a canvas and be able to create a WebGLRenderer.
Can someone please help me out?