fix: resolve review findings and refresh PR #766 against main

This commit is contained in:
Said Turksever committed 2026-11-03 16:17:34 +00:00
commit 50cd03eb03
1458 files changed
+123448 -22965

No files matched your search

+7 -1
View File
@@ -72,8 +72,14 @@ export function allocationTestArgs(file) {
return ['--expose-gc', '--test', '--test-concurrency=1', file];
}
/** Node flags every unit-test process receives. */
export const UNIT_TEST_NODE_FLAGS = Object.freeze([
// Single-file components compile on import.
'--import=./build/registerVue.js',
]);
function runTests(args) {
const result = spawnSync(process.execPath, args, {
const result = spawnSync(process.execPath, [...UNIT_TEST_NODE_FLAGS, ...args], {
cwd: process.cwd(),
stdio: 'inherit',
env: process.env,