Global variables declared in init context no longer work when running tests with docker #2680
Labels
breaking change
for PRs that need to be mentioned in the breaking changes section of the release notes
k6 run k6-tests/test-main-file.js
works without problem.docker run -v $(pwd)/k6-tests:/k6-tests -i loadimpact/k6 run /k6-tests/test-main-file.js
throws an error"msg="ReferenceError: context is not defined\n\tat first_scenario"
test-main-file.js
first_scenario.js
The text was updated successfully, but these errors were encountered: