This is a spec to verify that your Mocha Spec Runner page can actually load all its script tags.
Paste it into your Spec Runner page as an inline script, just before mocha.run();
.
Why?
If one of your source scripts fails to load (e.g. due to a malformed URL), you usually don't get any error message. This can cause confusing test failures that are hard to debug.