Files
cell/tests/portal.js
John Alanbrook 291fd9ead0
Some checks failed
Build and Deploy / package-dist (push) Blocked by required conditions
Build and Deploy / deploy-itch (push) Blocked by required conditions
Build and Deploy / deploy-gitea (push) Blocked by required conditions
Build and Deploy / build-linux (push) Successful in 1m16s
Build and Deploy / build-windows (CLANG64) (push) Failing after 10m57s
hide actor data
2025-03-12 23:09:43 -05:00

11 lines
190 B
JavaScript

// Test to create a portal
var password = "abc123"
$_.portal(e => {
if (e.password !== password)
$_.send(e, {reason:"Password does not match."});
else
$_.send(e, $_)
}, 5678);