I’ve been trying to display the test case results underneath. I’ve imported mocha and chai libraries from CDN as well.
https://codepen.io/tdimoff/pen/VwJKaYj
They are supposed to display in the mocha
div:
<div id="mocha"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.2.0/mocha.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.3.6/chai.min.js"></script>
Should I set the preprocessor to babel
in CodePen settings?