Sha256: 1fbd034b413a087d42d71f856b851a61d178a2aa872c999a1bb0d6b724f50fe1

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

mocha.setup(Konacha.mochaOptions);

mocha.suite.beforeEach(function () {
  var e = document.getElementById('konacha');
  if (e) {
    e.parentNode.removeChild(e);
  }

  e = document.createElement("div");
  e.id = "konacha";
  document.body.appendChild(e);
});

var expect = chai.expect,
    should = chai.should(),
    assert = chai.assert;

window.onload = function () {
  mocha.run();
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
konacha-1.5.1 lib/assets/javascripts/konacha.js
konacha-1.5.0 lib/assets/javascripts/konacha.js
konacha-1.4.2 lib/assets/javascripts/konacha.js
konacha-1.4.1 lib/assets/javascripts/konacha.js
konacha-1.4.0 lib/assets/javascripts/konacha.js