feat(simulation): expose semantic UI snapshots (#37802)

This commit is contained in:
Kit Langton 2026-07-19 16:04:27 -04:00 committed by GitHub
commit edc93ceff1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 477 additions and 43 deletions

View file

@ -0,0 +1,7 @@
import { expect, test } from "bun:test"
import { permissionSemanticLabel } from "../../../src/routes/session/permission"
test("uses the permission action when a surface has no display title", () => {
expect(permissionSemanticLabel("shell")).toBe("Permission required: shell")
expect(permissionSemanticLabel("edit", "Edit fixture.txt")).toBe("Permission required: Edit fixture.txt")
})