WIP: recreate object element when loading maps to avoid node warnings about dangling file handles

This commit is contained in:
2025-06-16 22:41:29 -07:00
parent 8fb858fc46
commit 0cf32e65f7
6 changed files with 147 additions and 31 deletions

View File

@@ -11,7 +11,8 @@
},
"scripts": {
"start": "node dev-server.cjs",
"test:integ": "node --trace-warnings ./node_modules/.bin/jest --detectOpenHandles --config jest.config.integ.cjs",
"test:integ": "DBUS_SESSION_BUS_ADDRESS=/dev/null node --trace-warnings ./node_modules/.bin/jest --detectOpenHandles --config jest.config.integ.cjs",
"test:integ:debug": "NODE_INSPECT_RESUME_ON_START=1 DBUS_SESSION_BUS_ADDRESS=/dev/null node inspect ./node_modules/jest/bin/jest.js --config jest.config.integ.cjs --runInBand test/integration/page.test.js",
"test": "jest"
}
}