Sha256: dfab0b2216073f6c16ed9202408fbd7fce7a0f84ce8a6446efcde62c67244402

Contents?: true

Size: 1.75 KB

Versions: 8

Compression:

Stored size: 1.75 KB

Contents

{:uriI"file:///Users/izik/www/sparse/izi_lightup/spec/javascripts/crit-utils/active_emit_spec.js?type=application/javascript&pipeline=self&id=ffed4dbcf5a479c721ad975f92fa5921648d2b6775e48b6a2238f860077a401b:ET:load_pathI"8/Users/izik/www/sparse/izi_lightup/spec/javascripts;T:
filenameI"W/Users/izik/www/sparse/izi_lightup/spec/javascripts/crit-utils/active_emit_spec.js;T:	nameI" crit-utils/active_emit_spec;T:logical_pathI"(crit-utils/active_emit_spec.self.js;T:content_typeI"application/javascript;T:sourceI"describe("activeOn", function () {
  var $clock;

  beforeEach(function () {
    $clock = jasmine.clock();
    // activeOn.untrack();
  });

  it("should exists as global function", function () {
    expect(activeOn).toBeDefined();
    expect(typeof activeOn).toBe("function");
  });

  it("should call callback", function () {
    return new Promise(function (resolve, _reject) {
      activeOn.$$mock();
      setTimeout(function (){
        $("body").trigger("click");
      }, 10);
      activeOn(function () {
        expect(activeReady).toBeTruthy();
        resolve();
      });
    });

    // expect(typeof waitFor("SOMEWHAT")).toBe("function");
  });
});
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"efile-digest:///Users/izik/www/sparse/izi_lightup/spec/javascripts/crit-utils/active_emit_spec.js;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%(QQL|
%;97
n״Nh:lengthi:dependencies_digest"%|ʓ^g*K.WdR
#CGv:idI"Effed4dbcf5a479c721ad975f92fa5921648d2b6775e48b6a2238f860077a401b;F:
mtimel+F]b

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
izi_lightup-1.0.31 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.29 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.28 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.27 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.26 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.25 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.24 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache
izi_lightup-1.0.23 spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3zDuUFNbYtRMwVoKn-LC1VymLHaMEBfT7AQLz6ccw.cache