Files
GarfieldandCopilot 2e352e9541 🚚 (split): 从 moon-source 拆出独立仓库,更新只管本插件
书源插件自成仓库、独立发版;update.lua 改为只检查并更新本插件(仓库 GarfieldMoon/moonsource-kuaikan),
打包、测试脚本与发布流程改为单插件,跨书源的测试按插件拆开。公共文件见 moonsource-template。

Co-authored-by: Copilot <[email protected]>
2026-11-18 14:28:56 +08:00

12 lines
479 B
Lua

--[[--
快看腾讯滑块网页回归,使用本机 Node,不增加外部依赖。
@module tests.moonsource_kuaikan.web_spec
--]]
local Assert = require("support.assert")
local here = debug.getinfo(1, "S").source:match("^@(.+)/[^/]+$") or "."
local root = here .. "/../.."
local pipe = assert(io.popen('node "' .. here .. '/web_spec.js" "' .. root .. '" 2>&1'))
local output = pipe:read("*a")
pipe:close()
Assert.is_true(output:find("kuaikan web: OK", 1, true) ~= nil, output)