Sha256: c89440fdd940659085a301d643d070d741e9990647828d964bcdae3c7dd156c1
Contents?: true
Size: 1.82 KB
Versions: 8
Compression:
Stored size: 1.82 KB
Contents
{:uriI"file:///Users/izik/www/sparse/izi_lightup/spec/javascripts/crit-utils/mini_require_spec.js?type=application/javascript&pipeline=self&id=fd25e0557dc67d38d5b22d5278acf9fddd60f8adf378400ad9d6f662c6e290ee:ET:load_pathI"8/Users/izik/www/sparse/izi_lightup/spec/javascripts;T: filenameI"X/Users/izik/www/sparse/izi_lightup/spec/javascripts/crit-utils/mini_require_spec.js;T: nameI"!crit-utils/mini_require_spec;T:logical_pathI")crit-utils/mini_require_spec.self.js;T:content_typeI"application/javascript;T:sourceI"describe("miniRequire", function () { beforeEach(function () { // TODO: clear extra scripts }); it("should exists as global function", function () { expect(miniRequire).toBeDefined(); expect(typeof miniRequire).toBe("function"); }); it("should inject script", function() { // var req = ; // console.warn('?????'); // expect(true).toBeFalsy(); // document.scripts.length expect(function (params) { miniRequire("todo", "/assets/application.js") }).toChange(document.scripts.length); }) }); describe("miniPreload", function () { it("should exists as global function", function () { expect(miniPreload).toBeDefined(); expect(typeof miniPreload).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"ffile-digest:///Users/izik/www/sparse/izi_lightup/spec/javascripts/crit-utils/mini_require_spec.js;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%!fA~Yzã*667Nw?B~:lengthi:dependencies_digest"%L#^[>VNiau3^0:idI"Efd25e0557dc67d38d5b22d5278acf9fddd60f8adf378400ad9d6f662c6e290ee;F: mtimel+v]b
Version data entries
8 entries across 8 versions & 1 rubygems