summaryrefslogtreecommitdiff
path: root/www/lib/angular-carousel/test/unit/angular-carousel.shifty.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-21 12:49:18 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-21 12:49:18 -0400
commitb28028ac4082842143b0f528d6bc539da6ccb419 (patch)
tree1e26ea969a781ed8e323fca4e3c76345113fc694 /www/lib/angular-carousel/test/unit/angular-carousel.shifty.js
parent676270d21beed31d767a06c89522198c77d5d865 (diff)
mega changes, including updates and X
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.js20
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();
+ });
+ });
+
+});