diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-07-24 15:48:01 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-07-24 15:48:01 -0400 |
| commit | 83400033a3b7a91ad072a5d306355c9cd5a80d82 (patch) | |
| tree | b84d23a607523249554dc97ed26f000ca03d0abd /www/lib/angular-carousel/test/unit/angular-carousel.shifty.js | |
| parent | 89640e9b0212a2525ea132b1d11bb8962f5444dd (diff) | |
integrated event scrubbing with direct image access - need to clean up code
Diffstat (limited to 'www/lib/angular-carousel/test/unit/angular-carousel.shifty.js')
| -rw-r--r-- | www/lib/angular-carousel/test/unit/angular-carousel.shifty.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/lib/angular-carousel/test/unit/angular-carousel.shifty.js b/www/lib/angular-carousel/test/unit/angular-carousel.shifty.js new file mode 100644 index 00000000..994169ce --- /dev/null +++ b/www/lib/angular-carousel/test/unit/angular-carousel.shifty.js @@ -0,0 +1,20 @@ +/*global waits, runs, iit, browserTrigger, beforeEach, afterEach, describe, it, inject, expect, module, angular, $*/ + +describe('angular-carousel.shifty', function () { + 'use strict'; + + describe("compatibility with requirejs", function(){ + var loadShifty = function() { + module('angular-carousel.shifty'); + }; + it("should not throw an exception when load the shifty within requirejs environment", function(){ + expect(loadShifty).not.toThrow(); + }); + + it("should not throw an exception when inject `Tweenable` within requirejs environment", function(){ + loadShifty(); + expect(function() {inject(function(Tweenable){});}).not.toThrow(); + }); + }); + +}); |
