mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
3.1 KiB
9 lines
3.1 KiB
'use strict';
|
|
/**
|
|
* @license Angular
|
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
* License: MIT
|
|
*/(function(g,f){if(typeof define=="function"&&define.amd){define(f)}else if(typeof exports=="object" && typeof module<"u"){module.exports=f()}else{var m=f();for(var i in m) g[i]=m[i]}}(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : this,function(){var exports={};var __exports=exports;var module={exports};
|
|
"use strict";(function(c,a){if(typeof define=="function"&&define.amd)define(a);else if(typeof exports=="object"&&typeof module<"u")module.exports=a();else{var h=a();for(var m in h)c[m]=h[m]}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:exports,function(){var c={},a=c,h={exports:c};function m(k){k.__load_patch("mocha",function(e,y){var s=e.Mocha;if(typeof s=="undefined")return;if(typeof y=="undefined")throw new Error("Missing Zone.js");var _=y.ProxyZoneSpec,E=y.SyncTestZoneSpec;if(!_)throw new Error("Missing ProxyZoneSpec");if(s.__zone_patch__)throw new Error('"Mocha" has already been patched with "Zone".');s.__zone_patch__=!0;var T=y.current,M=T.fork(new E("Mocha.describe")),d=null,S=T.fork(new _),i={after:e.after,afterEach:e.afterEach,before:e.before,beforeEach:e.beforeEach,describe:e.describe,it:e.it};function w(n,o,r){for(var t=function(f){var p=n[f];typeof p=="function"&&(n[f]=p.length===0?o(p):r(p),n[f].toString=function(){return p.toString()})},u=0;u<n.length;u++)t(u);return n}function x(n){var o=function(r){return function(){return M.run(r,this,arguments)}};return w(n,o)}function v(n){var o=function(t){return function(u){return d.run(t,this,[u])}},r=function(t){return function(){return d.run(t,this)}};return w(n,r,o)}function Z(n){var o=function(t){return function(u){return S.run(t,this,[u])}},r=function(t){return function(){return S.run(t,this)}};return w(n,r,o)}e.describe=e.suite=function(){return i.describe.apply(this,x(arguments))},e.xdescribe=e.suite.skip=e.describe.skip=function(){return i.describe.skip.apply(this,x(arguments))},e.describe.only=e.suite.only=function(){return i.describe.only.apply(this,x(arguments))},e.it=e.specify=e.test=function(){return i.it.apply(this,v(arguments))},e.xit=e.xspecify=e.it.skip=function(){return i.it.skip.apply(this,v(arguments))},e.it.only=e.test.only=function(){return i.it.only.apply(this,v(arguments))},e.after=e.suiteTeardown=function(){return i.after.apply(this,Z(arguments))},e.afterEach=e.teardown=function(){return i.afterEach.apply(this,v(arguments))},e.before=e.suiteSetup=function(){return i.before.apply(this,Z(arguments))},e.beforeEach=e.setup=function(){return i.beforeEach.apply(this,v(arguments))},function(n,o){s.Runner.prototype.runTest=function(r){var t=this;y.current.scheduleMicroTask("mocha.forceTask",function(){n.call(t,r)})},s.Runner.prototype.run=function(r){return this.on("test",function(t){d=T.fork(new _)}),this.on("fail",function(t,u){var f=d&&d.get("ProxyZoneSpec");if(f&&u)try{u.message+=f.getAndClearPendingTasksInfo()}catch(p){}}),o.call(this,r)}}(s.Runner.prototype.runTest,s.Runner.prototype.run)})}return m(Zone),a!=c&&(h.exports=c),h.exports});
|
|
|
|
if(__exports != exports)module.exports = exports;return module.exports}));
|
|
|