bootbox
Version:
Wrappers for JavaScript alert(), confirm() and other flexible dialogs using Twitter's bootstrap framework
15 lines (11 loc) • 334 B
JavaScript
require('./vendor/setup');
var assert = require('assert');
var bootbox = require('../');
describe("Initial state", function() {
it("exists in the global namespace", function() {
assert.ok(bootbox);
});
it("starts with no visible dialogs", function() {
assert.equal($(".bootbox").length, 0);
});
});