MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / increment

Function increment

services.ts:4096–4118  ·  view source on GitHub ↗
(irr:string)

Source from the content-addressed store, hash-verified

4094 len:number = tests.length,
4095 cwd:string = __dirname.replace(/(\/|\\)js$/, ""),
4096 increment = function node_apps_simulation_increment(irr:string):void {
4097 const interval = function node_apps_simulation_increment_interval():void {
4098 a = a + 1;
4099 if (a < len) {
4100 wrapper();
4101 } else {
4102 console.log("");
4103 callback(`${text.green}Successfully completed all ${text.cyan + len + text.green} simulation tests.${text.none}`);
4104 }
4105 };
4106 if (irr !== "") {
4107 console.log(`${apps.humantime(false) + text.underline}Test ${a + 1} ignored (${text.angry + irr + text.none + text.underline}):${text.none} ${tests[a].command}`);
4108 } else {
4109 console.log(`${apps.humantime(false) + text.green}Passed simulation ${a + 1}: ${text.none + tests[a].command}`);
4110 }
4111 if (tests[a].artifact === "" || tests[a].artifact === undefined) {
4112 interval();
4113 } else {
4114 apps.remove(tests[a].artifact, function node_apps_simulation_wrapper_remove():void {
4115 interval();
4116 });
4117 }
4118 },
4119 errout = function node_apps_simulation_errout(message:string, stdout:string) {
4120 apps.errout([
4121 `Simulation test string ${text.angry + tests[a].command + text.none} ${message}:`,

Callers 1

wrapperFunction · 0.85

Calls 1

intervalFunction · 0.85

Tested by

no test coverage detected