补齐微信认证静态断言格式兼容
Project CI / Native shell tests (push) Failing after 19m0s
Project CI / Repository checks (push) Successful in 2m57s
Project CI / Frontend tests (push) Successful in 3m24s
Project CI / Backend tests (push) Successful in 7m56s

兼容认证边界测试被格式化拆行后的源码匹配
This commit is contained in:
2026-09-01 19:17:06 +08:00
parent a187d78a1c
commit 59a76be3c4
+1 -1
View File
@@ -4552,7 +4552,7 @@ function assertWechatAuthFailureBoundaries() {
"expect(console.error).toHaveBeenCalledWith(\n '[web-view] bind phone auth declined'",
'expect(console.error.mock.calls.flat()).not.toContain(authDeclined)',
]) {
if (!authTestSource.includes(snippet)) {
if (!sourceIncludesSnippet(authTestSource, snippet)) {
throw new Error(`wechat auth boundary test must include ${snippet}`);
}
}