sourceweaver_42-project-lab/test/core.test.mjs

9 lines
282 B
JavaScript

// Standardized JavaScript entrypoint for: Unit tests. CRITICAL: This file MUST import from
export function main() {
return { ok: true, topic: "Unit tests. CRITICAL: This file MUST import from" };
}
if (import.meta.url === `file://${process.argv[1]}`) {
console.log(main());
}