✔ render prints the unit without the preview flags (8.801318ms)
✔ render carries every serve flag, the preview set included (5.980771ms)
✔ a partial preview set is refused (13.141702ms)
✔ a value the unit cannot carry is refused, for every flag (212.164227ms)
✔ the rendered unit names none of the human proof agent markers and sets no agent variable (15.415566ms)
✔ install into --dir with --no-reload writes the file whole, then reports unchanged (44.770523ms)
✔ install without --no-reload runs daemon-reload and nothing that starts the unit (18.87314ms)
✔ uninstall refuses while the unit is running, with or without --no-reload, and removes it once it is not (97.286652ms)
✔ status prints the unit state and GET /healthz on the installed port (145.96206ms)
✔ usage: an unknown verb or flag, and start or enable, exit 4 (52.106391ms)
✔ without --send, render is the template with its placeholders filled, byte for byte (22.829175ms)
✔ render --send with the preview set ends ExecStart with --send and changes nothing else (37.741859ms)
✔ --send without the whole preview set is refused and writes nothing (95.296477ms)
✔ install --send into --dir with --no-reload writes the sending unit, and status says whether it sends (191.012355ms)
✔ uninstall and status take no --send (26.257147ms)
✔ install refuses while the unit is running, in any state but inactive or failed, and changes nothing (197.821495ms)
✔ when the state read fails, install and uninstall refuse with one line and change nothing (51.559962ms)
✔ install needs --copy naming a copy that exists, and refuses outside the canonical checkout without --allow-worktree (45.490313ms)
✖ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (48.836817ms)
✔ render --copy runs the copy and reads the queue in the checkout; without --copy the unit is unchanged (13.684954ms)
✔ the uid header takes only an Authentik uid; the username header still takes a username (231.260972ms)
✔ a preview value cannot start with - or . (23.831069ms)
✔ status names the copy and whether refactor has moved past it, and says when the unit runs from no copy (339.285097ms)
ℹ tests 23
ℹ suites 0
ℹ pass 22
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1999.761762

✖ failing tests:

test at packages/webui/tests/service.test.mjs:513:1
✖ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (48.836817ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  
  0 !== 1
  
      at refused (file:///mnt/storage/src/mosaic-stack-rocko-85/packages/webui/tests/service.test.mjs:521:12)
      at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack-rocko-85/packages/webui/tests/service.test.mjs:540:3)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: 0,
    expected: 1,
    operator: 'strictEqual',
    diff: 'simple'
  }
