每个书源一个独立插件目录,含微信读书公众号订阅、书架导入等完整功能。 Co-authored-by: Copilot <[email protected]>
12 lines
479 B
Lua
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)
|