lighthouse-mocha-example
lighthouse-mocha-example copied to clipboard
Not working
Below are logs from console
mocha --timeout 15000
Lighthouse PWA Testing (node:33772) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:9222 at Object._errnoException (util.js:1022:11) at _exceptionWithHostPort (util.js:1044:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14) (node:33772) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:33772) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 1) "before all" hook: Run Lighthouse base test
0 passing (15s) 1 failing
- Lighthouse PWA Testing "before all" hook: Run Lighthouse base test: Error: Timeout of 15000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.