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

Function checkTestForErrors

test/unit/bdd_test.js:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44`
45
46const checkTestForErrors = test => {
47 return new Promise((resolve, reject) => {
48 test.fn(err => {
49 if (err) {
50 return reject(err)
51 }
52 resolve()
53 })
54 })
55}
56
57describe('BDD', () => {
58 beforeEach(async () => {

Callers 1

bdd_test.jsFile · 0.85

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected