picostitch
crafting (and) JavaScript

Tidbits tagged with #mocha (3)

#tests

Where do my tests go OR Run mocha tests with WebStorm IDE

I had been fighting for the last years, always again to make WebStorm run all my tests the way I want. I moved tests into the src folder then back into a tests folder. The latter is painful, since I have to keep the structures of two folders in sync that way, which is just inefficient, especially when I refactor so much, which I think is simply necessary and the right thing to do.
Continue reading →