Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
782 B

'use strict';
describe('Main Module', function() {
var module;
var dependencies;
dependencies = [];
var hasModule = function(module) {
return dependencies.indexOf(module) >= 0;
};
beforeEach(function() {
// Get module
module = angular.module('angular-jwt');
dependencies = module.requires;
});
it('should load options module', function() {
expect(hasModule('angular-jwt.options')).to.be.ok;
});
it('should load authManager module', function() {
expect(hasModule('angular-jwt.authManager')).to.be.ok;
});
it('should load interceptor module', function() {
expect(hasModule('angular-jwt.interceptor')).to.be.ok;
});
it('should load jwt module', function() {
expect(hasModule('angular-jwt.jwt')).to.be.ok;
});
});