add visibility handling for the floating window

This commit is contained in:
m13r committed 2025-12-23 22:31:39 +01:00
1 parent e92c8476c2
commit 463d0ae2f7
5 files changed
+134 -25

No files matched your search

+19
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)