test(phase22): align runner export/guard parity for core token suite

This commit is contained in:
2026-03-25 10:34:34 +00:00
parent d7874686a1
commit 7553f992b7
2 changed files with 34 additions and 4 deletions
+8 -4
View File
@@ -104,7 +104,11 @@ const run = async () => {
);
};
run().catch((error) => {
console.error(error);
process.exit(1);
});
module.exports = run;
if (require.main === module) {
run().catch((error) => {
console.error(error);
process.exit(1);
});
}