Unit tests shouldn't require internet access
|Reported by:||gibson042||Owned by:|
I was working on jQuery while waiting for internet service to be restored today, and discovered an unexpected failure in the selector unit test module.
The "sizzle_cache" test loads
data/selector/sizzle_cache.html, which requests http://code.jquery.com/jquery-git.js so it can store
jQuery.noConflict(true) and then replace it from local files. But since the only purpose of this test is to check behavior with parallel copies of Sizzle, local sources should be sufficient for both
The test will pass without internet access if the request for jquery-git.js is replaced with local core.js + selector.js + traversing.js.