node ./coverageServer.js
npm run dev
Open the page in browser, and trigger some action on page. Then please send the coverage data to the server by manual, like this:
fetch('http://localhost:8088/coverage/client', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify(window.__coverage__),
keepalive: false
});
Open the coverage server page(http://localhost:8088/coverage) in browser, and visit the coverage detail. Then Crash.....