Skip to content

test: suppress ExperimentalWarning

This commit suppresses the ExperimentalWarning that is generated by EnvironmentTest.EnvironmentWithESMLoader:

$ ./out/Release/cctest \
  --gtest_filter=EnvironmentTest.EnvironmentWithESMLoader
Running main() from ../test/cctest/gtest/gtest_main.cc
Note: Google Test filter = EnvironmentTest.EnvironmentWithESMLoader
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from EnvironmentTest
[ RUN      ] EnvironmentTest.EnvironmentWithESMLoader
(node:3829122) ExperimentalWarning:
VM Modules is an experimental feature. This feature could change at any
time
(Use `node --trace-warnings ...` to show where the warning was created)
[       OK ] EnvironmentTest.EnvironmentWithESMLoader (83 ms)
[----------] 1 test from EnvironmentTest (83 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (86 ms total)
[  PASSED  ] 1 test.

Merge request reports

Loading