From ac26e6b3e7d0e2b577dd672fe5d81dbc6e09fef0 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Wed, 29 Jan 2025 11:06:38 +0100 Subject: [PATCH] fix: export STANDARD_ACTING_HELPERS type --- lib/container.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/container.js b/lib/container.js index c44042eee..39f5b4ae4 100644 --- a/lib/container.js +++ b/lib/container.js @@ -34,6 +34,13 @@ let container = { * Dependency Injection Container */ class Container { + /** + * Get the standard acting helpers of CodeceptJS Container + * + */ + static get STANDARD_ACTING_HELPERS() { + return ['Playwright', 'WebDriver', 'Puppeteer', 'Appium', 'TestCafe'] + } /** * Create container with all required helpers and support objects * @@ -205,8 +212,6 @@ class Container { } } -Container.STANDARD_ACTING_HELPERS = ['Playwright', 'WebDriver', 'Puppeteer', 'Appium', 'TestCafe'] - module.exports = Container function createHelpers(config) {