修复 CI: mobileAnnouncement 测试适配公告移除
This commit is contained in:
@@ -17,7 +17,7 @@ export function runTests() {
|
||||
|
||||
assert(
|
||||
source.includes("isMobileViewport") &&
|
||||
source.includes("showAnnouncement && !isMobileViewport"),
|
||||
"scan upgrade announcement must not render on mobile viewports",
|
||||
!source.includes("showAnnouncement"),
|
||||
"v1.5.6 scan upgrade announcement must be removed",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user