add visibility handling for the floating window

This commit is contained in:
2025-12-23 22:31:39 +01:00
parent e92c8476c2
commit 463d0ae2f7
5 changed files with 134 additions and 25 deletions

View File

@@ -0,0 +1,19 @@
local test_samurai = require("test-samurai")
local core = require("test-samurai.core")
describe("test-samurai output API", function()
it("delegates show_output to core", function()
local called = false
local orig = core.show_output
core.show_output = function()
called = true
end
test_samurai.show_output()
core.show_output = orig
assert.is_true(called)
end)
end)