Sha256: 445e3d43076da0969ab8e416f79b60ee028a5cfdf0d464cb0e04c02fa144b908
Contents?: true
Size: 541 Bytes
Versions: 9
Compression:
Stored size: 541 Bytes
Contents
var Pikaday = require('../'), expect = require('expect.js'); describe('Pikaday', function () { 'use strict'; it('should expose as a CommonJS module', function () { expect(Pikaday).to.be.a('function'); }); it('should NOT leak to the global object', function () { expect(window).to.not.have.property('Pikaday'); }); it('should be possible to create a new instance', function () { expect(function () { new Pikaday(); }).to.not.throwException(); }); });
Version data entries
9 entries across 9 versions & 1 rubygems