It's mentioned that it could be an issue with hapi/lab and Node.js verisions. According to the StackOverflow thread, adding a -l tag on our test script in package.json ignores the message and allows the build to pass, but this doesn't seem like a long term solution.
When running test for TravisCI, the tests fail with the message
The following leaks were detected: globalThis
.Research sources: StackOverFlow Gitter
It's mentioned that it could be an issue with hapi/lab and Node.js verisions. According to the StackOverflow thread, adding a
-l
tag on our test script inpackage.json
ignores the message and allows the build to pass, but this doesn't seem like a long term solution.