MCPcopy
hub / github.com/codeceptjs/CodeceptJS / removeRun

Method removeRun

lib/command/run-multiple/collection.js:27–39  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

25 }
26
27 removeRun(name) {
28 this.runs.forEach((run, index) => {
29 if (run.getName() === name) {
30 delete this.runs[index];
31 return true;
32 }
33 });
34
35 // Remove empty items
36 this.runs = this.runs.filter(r => !!r);
37
38 return false;
39 }
40
41 getRuns() {
42 return this.runs;

Callers 3

prepareChunksMethod · 0.95
prepareBrowsersMethod · 0.95

Calls 2

getNameMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected