diff --git a/README.md b/README.md index 74c1b64..83f5a06 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Or use this CDN link (thanks to [cdnjs.com](http://cdnjs.com)): ``` -Tested with AngularJS 1.1.5, 1.2.21 and 1.3.0-rc.3. +Tested with AngularJS 1.1.5, 1.2.21, 1.3.14, and 1.4.0-beta.5. Overview -------- diff --git a/karma-angular-1.3.conf.js b/karma-angular-1.3.conf.js index cef4a83..179046e 100644 --- a/karma-angular-1.3.conf.js +++ b/karma-angular-1.3.conf.js @@ -8,10 +8,10 @@ module.exports = function(config) { files: [ 'test/lib/jquery.min.js', 'test/lib/helpers.js', - 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular.js', - 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular-route.js', - 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular-animate.js', - 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular-mocks.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-route.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-animate.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-mocks.js', 'src/**/*.js', 'test/unit/**/*.js' ], diff --git a/karma-angular-1.4.conf.js b/karma-angular-1.4.conf.js new file mode 100644 index 0000000..b03e689 --- /dev/null +++ b/karma-angular-1.4.conf.js @@ -0,0 +1,24 @@ +module.exports = function(config) { + config.set({ + + basePath: './', + + frameworks: ["jasmine"], + + files: [ + 'test/lib/jquery.min.js', + 'test/lib/helpers.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.5/angular.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.5/angular-route.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.5/angular-animate.js', + 'https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.5/angular-mocks.js', + 'src/**/*.js', + 'test/unit/**/*.js' + ], + + autoWatch: true, + + browsers: ['PhantomJS'] + + }); +}; \ No newline at end of file