https://bugzilla.wikimedia.org/show_bug.cgi?id=44488

--- Comment #1 from Krinkle <krinklem...@gmail.com> ---
Is that js file a lib file or a test file?

What do you get in the console?

QUnit can/should only execute tests it is given. Test it isn't given it can't
load, naturally. If a file contains a SyntaxError the module it came with will
fail at run time, so anything else that module provided is not executable, this
is how javascript works (nothing we can do about it).



Special:JavaScriptTest/qunit?module=ext.E3Experiments.standalone showing 0/0 is
misleading. the module parameter is a filter. The module you're referring to
isn't loaded due to the invalid syntax, so the filter doesn't match any
modules.

Special:JavaScriptTest/qunit?module=blablabla yields the same result.

I don't think QUnit is the place to assert syntax correctness. That's what
JSHint is for, which should run before one even considers running QUnit tests.

Also, in a non-automated environment the console will inform about the syntax
error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to