The jquery imported calls noConflict which cleans up global $ and jQuery. This file then puts the old version of jQuery back on window.jQuery
So if you are using jquery plugins that pass window.jQuery into an IIFE you will be using the FuncUnit version of jQuery in the plugin but a newer version in Can (and your tests)
The jquery imported calls noConflict which cleans up global
$
andjQuery
. This file then puts the old version of jQuery back onwindow.jQuery
So if you are using jquery plugins that pass
window.jQuery
into an IIFE you will be using the FuncUnit version of jQuery in the plugin but a newer version in Can (and your tests)Proposed solution – Remove this line: https://github.com/bitovi/funcunit/blob/master/browser/init.js#L4