Example of a test that use the export-context in the unit test that uses test framework mocha and chai
npm i mocha chai
$(npm bin)/mocha ./example/using-mocha-chai/test.js
greet
✓ returns argument
setText
✓ sets text to #example
getText
✓ gets text from #example
3 passing (16ms)