Write additional tests (#22802)
* Write additional tests * Make Sonar happier
This commit is contained in:
parent
a4f9e7adad
commit
017dfb6606
10 changed files with 87 additions and 40 deletions
|
@ -39,7 +39,7 @@ export function initRageshake() {
|
|||
logger.log("To fix line numbers in Chrome: " +
|
||||
"Meatball menu → Settings → Ignore list → Add /rageshake\\.js$");
|
||||
|
||||
window.addEventListener('beforeunload', (e) => {
|
||||
window.addEventListener('beforeunload', () => {
|
||||
logger.log('element-web closing');
|
||||
// try to flush the logs to indexeddb
|
||||
rageshake.flush();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue