Sha256: 6a55d7d15c192f8f9aa756371f129d17ee52ed5e1707f9545b80489438939e21

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 Bytes

Contents

mocha.setup(Konacha.mochaOptions);

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

3 entries across 3 versions & 1 rubygems

Version Path
konacha-1.3.1 lib/assets/javascripts/konacha.js
konacha-1.3.0 lib/assets/javascripts/konacha.js
konacha-1.2.4 lib/assets/javascripts/konacha.js