Replies: 1 comment 2 replies
-
I think the issue is coming from the glob. Did you try |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if this is a bug so starting it out as a discussion.
I expected to be able to add multiple blocks of "overrides" and have items that have multiple matches pick up all of the overrides.
Here's a simplified example of my setup:
and lets say somewhere in
scripts/k6.js
I haveconsole.log({ __ENV, __VU })
If I have it set up like this, then
scripts/k6.js
throws errors that__ENV
and__VU
are undeclared. If I swap the order of the two override sections, it picks up on the globals but then throws warnings that I'm usingconsole.log
.I'm having trouble finding documentation on how exactly the
overrides
work.Is there a way I can update the overrides so that
scripts/k6.js
has both those overrides without having to repeat the noConsoleLog override?Beta Was this translation helpful? Give feedback.
All reactions