重构结果总览详情弹窗外层骨架
This commit is contained in:
@@ -12,6 +12,8 @@ const dialog = fs.readFileSync(
|
||||
|
||||
[
|
||||
'activeTab: "abnormalDetail"',
|
||||
"project-analysis-header",
|
||||
"project-analysis-overview",
|
||||
"if (value) {",
|
||||
"resetDialogState()",
|
||||
'this.activeTab = "abnormalDetail"',
|
||||
@@ -19,3 +21,5 @@ const dialog = fs.readFileSync(
|
||||
"this.fetchDetailData()",
|
||||
"this.resetDialogState()",
|
||||
].forEach((token) => assert(dialog.includes(token), token));
|
||||
|
||||
assert(!dialog.includes("project-analysis-shell"), "关闭重开后默认页签保持,但内部套娃外壳应已移除");
|
||||
|
||||
Reference in New Issue
Block a user