When loading jasmine-jquery after loading my platform's jquery version (1.3.2), I get the following error:
Uncaught TypeError: $.ajax(...).fail is not a function
at /home/eric/Code/tmac-internal/node_modules/jasmine-jquery/lib/jasmine-jquery.js:138
I'm loading the test with Karma:
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine', 'requirejs'],
// list of files / patterns to load in the browser
files: [
{pattern: './public/javascripts/jquery-1.3.2.js', included: true},
{pattern: './public/javascripts/application.js', included: true},
'./test/javascripts/test-main.js',
{pattern: './test/javascripts/**/*.test.js', included: false}
],
...
When loading
jasmine-jquery
after loading my platform's jquery version (1.3.2), I get the following error:I'm loading the test with Karma:
And in my package.json:
I've seen other references to people using jQuery
1.3.2
with this package. Am I missing something or is this a dealbreaker?