'use strict';
|
|
describe('', function () {
|
|
var module;
|
var dependencies;
|
dependencies = [];
|
|
var hasModule = function (module) {
|
return dependencies.indexOf(module) >= 0;
|
};
|
|
beforeEach(function () {
|
|
// Get module
|
module = angular.module('ngTableToCsv');
|
dependencies = module.requires;
|
});
|
|
it('should load config module', function () {
|
expect(hasModule('ngTableToCsv.config')).to.be.ok;
|
});
|
|
|
it('should load directives module', function () {
|
expect(hasModule('ngTableToCsv.directives')).to.be.ok;
|
});
|
|
|
});
|