codeceptjs 4.0.2-beta.11 → 4.0.2-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149,7 +149,14 @@ initPromise = (async function () {
149
149
  codecept = new Codecept(config, optsWithChild)
150
150
 
151
151
  console.log(`[Worker ${workerIndex}] Initializing Codecept...`)
152
- await codecept.init(testRoot)
152
+ try {
153
+ await codecept.init(testRoot)
154
+ console.log(`[Worker ${workerIndex}] Codecept initialized successfully`)
155
+ } catch (initErr) {
156
+ console.error(`[Worker ${workerIndex}] FAILED during codecept.init():`, initErr.message)
157
+ console.error(initErr.stack)
158
+ process.exit(1)
159
+ }
153
160
 
154
161
  console.log(`[Worker ${workerIndex}] Loading tests...`)
155
162
  codecept.loadTests()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeceptjs",
3
- "version": "4.0.2-beta.11",
3
+ "version": "4.0.2-beta.12",
4
4
  "type": "module",
5
5
  "description": "Supercharged End 2 End Testing Framework for NodeJS",
6
6
  "keywords": [