I wrote a JavaScript Unit Test today... Mock Import Time Function
I came across an interesting language feature of JavaScript ES6 feature, import time function, that I wanted to be able to write a unit test for.
Tags: javascript, unittest, jest, skiplist