Iโm writing tests for a node.js tool that Iโm working on and hit a snag in trying to mock (i.e., simulate) a dynamic npm install of a module within a subdirectory. I tried a bunch of ideas and ended up with a simple, perhaps not ideal, but effective solution. TL;DR: Pre-install all of the potentially...
Read More