All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.bower_components.angular-bootstrap-datetimepicker.test.commonjs.browserify.test.js Maven / Gradle / Ivy

There is a newer version: 0.66.0.1
Show newest version
/*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()
})




© 2015 - 2024 Weber Informatics LLC | Privacy Policy