Skip to content

Commit

Permalink
fixed tests for container
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Mar 4, 2024
1 parent 377702b commit da831aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Container {
container.translation = loadTranslation(config.translation || null, config.vocabularies || []);
container.support = createSupportObjects(config.include || {});
container.plugins = createPlugins(config.plugins || {}, opts);
if (opts.ai) ai.enable(config.ai); // enable AI Assistant
if (opts && opts.ai) ai.enable(config.ai); // enable AI Assistant
if (config.gherkin) loadGherkinSteps(config.gherkin.steps || []);
if (opts && typeof opts.timeouts === 'boolean') store.timeouts = opts.timeouts;
}
Expand Down

0 comments on commit da831aa

Please sign in to comment.