test,vm: enable strict mode for vm tests
Checklist
-
tests and code linting passes -
the commit message follows commit guidelines
Affected core subsystem(s)
test vm
Description of change
Some vm tests are not in strict mode because they need to create and use global variables. By using global.foo
instead of just foo
, we can still enable strict mode.