This is my own implementation of Jest testing framework for learning purposes
run it with node --require ./myjest.globals.js add.test.js
Expected output:
✓ 1 + 1 is 2
✕ 1 + 1 is 11
✓ 1 + 1 is not 3
This is my own implementation of Jest testing framework for learning purposes
run it with node --require ./myjest.globals.js add.test.js
Expected output:
✓ 1 + 1 is 2
✕ 1 + 1 is 11
✓ 1 + 1 is not 3