Web Dev Solutions

Catalin Mititiuc

From cb76c9c68a185f840aa03fd0a38260bba6f21302 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Wed, 1 May 2024 22:53:18 -0700 Subject: WIP: recreate object element when loading maps to avoid node warnings about dangling file handles --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 63b3fba..2cdee63 100644 --- a/package.json +++ b/package.json @@ -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" } } -- cgit v1.2.3