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