BabylonNative icon indicating copy to clipboard operation
BabylonNative copied to clipboard

Fix Console polyfill to allow Mocha.js reporters to work correctly

Open darraghjburke opened this issue 4 years ago • 1 comments

The current Console polyfill only implements a limited subset of console functionality. Currently, the built in Mocha.js reporters (which print test results to the console) will not work. We are using a custom reporter as a workaround, but eventually we should fix the polyfill.

darraghjburke avatar Sep 23 '21 19:09 darraghjburke

Relevant code: https://github.com/BabylonJS/BabylonNative/blob/master/Apps/UnitTests/Scripts/tests.js#L1-L16

bghgary avatar Aug 03 '22 20:08 bghgary