mirror of
https://github.com/rustfs/console.git
synced 2026-08-29 03:52:28 +08:00
10 lines
309 B
JavaScript
10 lines
309 B
JavaScript
import test from "node:test"
|
|
import assert from "node:assert/strict"
|
|
import fs from "node:fs"
|
|
|
|
test("dialog overlay and content remain clickable above modal parents", () => {
|
|
const source = fs.readFileSync("components/ui/dialog.tsx", "utf8")
|
|
|
|
assert.equal(source.includes("pointer-events-auto"), true)
|
|
})
|