META-INF.resources.bower_components.angular-bootstrap-datetimepicker.test.commonjs.browserify.test.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-bootstrap-date-time-picker Show documentation
Show all versions of jwebmp-bootstrap-date-time-picker Show documentation
The JWebSwing implementation for Bootstrap Date Time Picker
/*globals require */
/**
* @license angular-bootstrap-datetimepicker
* Copyright 2016 Knight Rider Consulting, Inc. http://www.knightrider.com
* License: MIT
*/
/** This file is intentionally named browserify.test.js so that it is not picked up by the karma runner **/
var angular = require('angular')
var tapeTest = require('tape')
tapeTest('can load module after requiring', function (t) {
'use strict';
function loadModule() {
angular.module('ui.bootstrap.datetimepicker')
}
t.throws(loadModule)
require('../../')
t.doesNotThrow(loadModule)
t.end()
})