✨ 初始提交:月读第三方书源插件集合
每个书源一个独立插件目录,含微信读书公众号订阅、书架导入等完整功能。 Co-authored-by: Copilot <[email protected]>
This commit is contained in:
commit
d08a5b45c0
24 files changed
+2973
No files matched your search
@@ -0,0 +1,13 @@
|
||||
--[[--
|
||||
书旗滑块页的登录环境初始化与失败反馈,不依赖 npm。
|
||||
@module tests.moonsource_shuqi.web_spec
|
||||
--]]
|
||||
local Assert = require("support.assert")
|
||||
local status = os.execute("command -v node >/dev/null 2>&1")
|
||||
if status ~= 0 and status ~= true then Assert.skip("需要 Node 运行网页脚本回归") end
|
||||
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("shuqi web: OK", 1, true) ~= nil, output)
|
||||
Reference in new issue
Block a user