✔ render prints the unit without the preview flags (8.459292ms)
✔ render carries every serve flag, the preview set included (5.773544ms)
✔ a partial preview set is refused (12.65766ms)
✔ a value the unit cannot carry is refused, for every flag (209.760351ms)
✔ the rendered unit names none of the human proof agent markers and sets no agent variable (15.213113ms)
✔ install into --dir with --no-reload writes the file whole, then reports unchanged (43.627292ms)
✔ install without --no-reload runs daemon-reload and nothing that starts the unit (18.422489ms)
✔ uninstall refuses while the unit is running, with or without --no-reload, and removes it once it is not (96.013653ms)
✔ status prints the unit state and GET /healthz on the installed port (150.532001ms)
✔ usage: an unknown verb or flag, and start or enable, exit 4 (52.319054ms)
✔ without --send, render is the template with its placeholders filled, byte for byte (23.018193ms)
✔ render --send with the preview set ends ExecStart with --send and changes nothing else (38.105068ms)
✔ --send without the whole preview set is refused and writes nothing (95.192918ms)
✔ install --send into --dir with --no-reload writes the sending unit, and status says whether it sends (183.524594ms)
✔ uninstall and status take no --send (27.187151ms)
✔ install refuses while the unit is running, in any state but inactive or failed, and changes nothing (201.389617ms)
✔ when the state read fails, install and uninstall refuse with one line and change nothing (51.320561ms)
✔ install needs --copy naming a copy that exists, and refuses outside the canonical checkout without --allow-worktree (45.295078ms)
✖ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (48.94013ms)
✔ render --copy runs the copy and reads the queue in the checkout; without --copy the unit is unchanged (13.407187ms)
✔ the uid header takes only an Authentik uid; the username header still takes a username (230.060551ms)
✔ a preview value cannot start with - or . (23.776556ms)
✔ status names the copy and whether refactor has moved past it, and says when the unit runs from no copy (347.828489ms)
ℹ tests 23
ℹ suites 0
ℹ pass 22
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2002.256423

✖ 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.94013ms)
  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 process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      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'
  }
