diff --git a/test/parallel/test-permission-sqlite-load-extension.js b/test/parallel/test-permission-sqlite-load-extension.js index ff13d05c84626e..28d750d0cd06b6 100644 --- a/test/parallel/test-permission-sqlite-load-extension.js +++ b/test/parallel/test-permission-sqlite-load-extension.js @@ -8,7 +8,7 @@ const db = new sqlite.DatabaseSync(':memory:', { allowExtension: true }); db.loadExtension('nonexistent');`.replace(/\n/g, ' '); childProcess.exec( - `${process.execPath} --experimental-permission -e "${code}"`, + `${process.execPath} --permission -e "${code}"`, {}, common.mustCall((err, _, stderr) => { assert.strictEqual(err.code, 1); diff --git a/test/sqlite/test-sqlite-extensions.mjs b/test/sqlite/test-sqlite-extensions.mjs index 128a4fa0b29d24..0e0acf2dc33d30 100644 --- a/test/sqlite/test-sqlite-extensions.mjs +++ b/test/sqlite/test-sqlite-extensions.mjs @@ -93,7 +93,7 @@ test('should throw error if permission is enabled', async () => { const db = new sqlite.DatabaseSync(':memory:', { allowExtension: true });`; return new Promise((resolve) => { childProcess.exec( - `${cmd} --experimental-permission -e "${code}"`, + `${cmd} --permission -e "${code}"`, { ...opts, },