MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / do

Method do

test/data/sandbox/session_helper.js:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 }
23
24 do() {
25 return new Promise((resolve) => {
26 setTimeout(() => {
27 resolve('res');
28 }, 100);
29 });
30 // .then(() => output.step(`session:${this.sessionId}.${action}`));
31 }
32
33 errorStep() {
34 throw new Error('ups, error');

Callers 2

bdd_test.jsFile · 0.80

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected