codeceptjs 4.0.1-beta.2 → 4.0.1-beta.3
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.
- package/lib/container.js +3 -0
- package/package.json +1 -1
package/lib/container.js
CHANGED
|
@@ -110,6 +110,9 @@ class Container {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
// Wait for all async helpers to finish loading and populate the actor with helper methods
|
|
114
|
+
await asyncHelperPromise
|
|
115
|
+
|
|
113
116
|
if (opts && opts.ai) ai.enable(config.ai) // enable AI Assistant
|
|
114
117
|
if (config.gherkin) await loadGherkinStepsAsync(config.gherkin.steps || [])
|
|
115
118
|
if (opts && typeof opts.timeouts === 'boolean') store.timeouts = opts.timeouts
|