Hapi Lab why Test failed when all the tests are passed
Does anyone know the meaning of ? npm ERR! Test failed. See above for more details. 3 tests complete Test duration: 873 ms The following leaks were detected:lr npm ERR! Test failed. See above for more details. I run my 3 tests I get a successful green 3 tests complete (all my test are passed) but why I also see the nasty ? npm ERR! Test failed. See above for more details. The test fails because lab detected a global variable leak: The following leaks were detected:lr This means you probably defined the lr variable somewhere as global. Try to find where you did that and make the variable local.