{:uriI"Éfile:///Users/izik/www/sparse/izi_lightup/spec/javascripts/helpers/extend/global_results.js?type=application/javascript&pipeline=self&id=4867c23c4636279b7d5ff28c8befc35515b9e7142c14e911c99bd81b719583b7:ET:load_pathI"8/Users/izik/www/sparse/izi_lightup/spec/javascripts;T: filenameI"Y/Users/izik/www/sparse/izi_lightup/spec/javascripts/helpers/extend/global_results.js;T: nameI""helpers/extend/global_results;T:logical_pathI"*helpers/extend/global_results.self.js;T:content_typeI"application/javascript;T: sourceI"y(function (ctx) { function setup(global) { global.$status = 'pending'; global.$completed = false; global.$$stdout = ''; global.$$stderr = ''; var MAPPING = { passed: '+', failed: '-', pending: '*', }; function dumpSpecResult(result) { // console.warn('????', result); // result: // status: 'passed' | 'failed' | 'pending' // fullName: '...' // description: '...' // failedExpectations: [] // passedExpectations: [] if (result.status === 'passed' && result.passedExpectations.length > 0) { console.log('PASSED ' + result.fullName); } else if (result.status === 'failed') { console.log('FAILED ' + result.fullName); for (var i = 0; i < result.failedExpectations.length; i++) { console.log(' ERROR: ' + result.failedExpectations[i].message); } } global.$$stdout += MAPPING[result.status] + " " + result.fullName + "\n"; } function dumpSpecErrors(result) { if (result.failedExpectations.length === 0) return; global.$$stderr += "FAILED: " + result.fullName + "\n"; for (var i = 0; i < result.failedExpectations.length; i++) { var item = result.failedExpectations[i]; global.$$stderr += " !!! " + item.message + "\n"; if (item.stack && (item.stack.trim() !== 'at ')) { global.$$stderr += " >>> " + item.stack + "\n"; } } } jasmine.getEnv().addReporter({ jasmineDone: function (result) { global.$status = result.overallStatus || 'unknown'; global.$completed = true; }, specDone: function (result) { dumpSpecResult(result); dumpSpecErrors(result); }, }); } if (typeof globalThis === 'object') return setup(globalThis); if (typeof window === 'object') return setup(window); setup(ctx); })(this); ;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"gfile-digest:///Users/izik/www/sparse/izi_lightup/spec/javascripts/helpers/extend/global_results.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%p»ñê`g"c²(àºóAQfx#0™a¸«±}³Qbyþ8: lengthiy:dependencies_digest"%ñ¸B%7òý_ÿRE:\Œ.1@8 ƒûœ¿Äœ…\ð:idI"E4867c23c4636279b7d5ff28c8befc35515b9e7142c14e911c99bd81b719583b7;F: mtimel+â$]b