Ensure output dir exists for tests
jslint fix