修复远程前端测试隔离依赖及跨平台断言

This commit is contained in:
xuans committed 2026-09-18 01:17:22 +08:00
1 parent 6683f1cf9f
commit b3c86572e4
4 files changed
+78 -1

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ const { readFormConfig, getFieldGroups, updateFormConfig, validateFormConfig } =
test('公网 HTTPS 端口独立编辑且保留内部监听与模式切换', () => {
const config = {
database: { type: 'sqlite' },
domains: { primary: 'example.com', web: 'mail.example.com', accepted: ['example.com'] },
http: { port: 8001, httpsPort: 8002, httpsEnabled: true, tlsMode: 'direct' }
}
+1 -1
View File
@@ -96,7 +96,7 @@ test('六个平台默认包含三个插件,构建和发布名称与后端目
assert.match(await read('Makefile'), /package: build_server plugin/)
assert.match(await read('.github/workflows/release.yml'), /node deploy\/build-plugins\.mjs --target=/)
assert.match(await read('deploy/package.mjs'), /sha256: createHash\('sha256'\)/)
assert.match(await read('deploy/package.mjs'), /files,\n createdAt/)
assert.match(await read('deploy/package.mjs'), /files,\r?\n createdAt/)
})
test('安全工作流必须先构建嵌入资源再执行 Go 测试', async () => {