补齐微信认证静态断言格式兼容
兼容认证边界测试被格式化拆行后的源码匹配
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user