2 ms·
I personally this time around, I found no need to even use a framework for unit testing a single javascript function. If I had to do something that feels too c
by sscarduzio 7y ago
I personally this time around, I found no need to even use a framework for unit testing a single javascript function.
If I had to do something that feels too complex, I'd write some interfaces in TypeScript to represent the tuples, then implement the function in TS, and compile it into plain JS in order to deploy it to plv8.