Files
node/test/parallel/test-inspector-dom-storage.js
T
Chengzhong WuandAntoine du Hamel 8885d60482 test: generate localstorage.db in a temp dir
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/62660
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2026-04-13 12:03:07 +02:00

17 lines
529 B
JavaScript

'use strict';
const common = require('../common');
common.skipIfSQLiteMissing();
common.skipIfInspectorDisabled();
const { spawnSyncAndExitWithoutError } = require('../common/child_process');
const fixtures = require('../common/fixtures');
const tmpdir = require('../common/tmpdir');
tmpdir.refresh();
spawnSyncAndExitWithoutError(process.execPath, [
'--inspect=0',
'--experimental-storage-inspection',
'--localstorage-file=./localstorage.db',
fixtures.path('test-inspector-dom-storage.mjs'),
], { cwd: tmpdir.path });