Fix JSCodeHint tests so they pass when running all tests.

One of the promises the code hinter was waiting for internally was never being resolved because the directory it was looking for didn't exist.  Now resolve the promise even when the director doesn't exist so we don't just hang.