You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
21 02 2020 15:45:04.232:INFO [karma-server]: Karma v4.4.1 server started at http://0.0.0.0:9876/
21 02 2020 15:45:04.233:INFO [launcher]: Launching browsers ChromeHeadless with concurrency unlimited
21 02 2020 15:45:04.237:INFO [launcher]: Starting browser ChromeHeadless
21 02 2020 15:45:04.523:INFO [HeadlessChrome 80.0.3987 (Linux 0.0.0)]: Connected on socket xiRaWk5c4S5uZ0osAAAA with id 64030713
HeadlessChrome 80.0.3987 (Linux 0.0.0) ERROR
Uncaught TypeError: Cannot set property 'World' of undefined
at node_modules/cucumber/dist/cucumber.js:79569:29
TypeError: Cannot set property 'World' of undefined
at setWorldConstructor (node_modules/cucumber/dist/cucumber.js:79569:29)
at test/support/world.js:39:1
npm ERR! Test failed. See above for more details.
The text was updated successfully, but these errors were encountered:
As mentioned in the other issue all Cucumber functions are globally available in the step files. So no need to import them as the plugin already does that when karma instantiates the cucumber plugin.
Can't seem to set a custom world for my tests - see error at bottom:
dev dependencies:
karma.conf.js:
World.js:
Error
The text was updated successfully, but these errors were encountered: