修改完成
This commit is contained in:
@@ -7,7 +7,7 @@ function Assert-Contains {
|
||||
|
||||
function Assert-NoCssSurface {
|
||||
param([string]$Content, [string]$ClassName)
|
||||
foreach ($property in @('border', 'background', 'border-radius')) {
|
||||
foreach ($property in @('border', 'border-radius')) {
|
||||
if ($Content -match "(?s)\\.$ClassName\\s*\\{[^}]*\\b$property\\s*:") {
|
||||
throw "G05 must not construct .$ClassName with CSS $property"
|
||||
}
|
||||
@@ -24,10 +24,10 @@ Assert-Contains $g01 'g05-genealogy-overview?genealogyId=' 'G01 must open G05 wi
|
||||
if ($g01 -match 'g05-genealogy-overview\?id=') { throw 'G01 must not retain the obsolete G05 id query key' }
|
||||
|
||||
foreach ($required in @(
|
||||
"const overviewState = ref('loading')",
|
||||
'const overviewState = ref("loading")',
|
||||
"query.genealogyId",
|
||||
"const viewMode = ref('member')",
|
||||
"const accessRole = ref('owner')",
|
||||
'const viewMode = ref("member")',
|
||||
'const accessRole = ref("owner")',
|
||||
'const overviewFixture = {',
|
||||
'overview-ready',
|
||||
'overview-public',
|
||||
|
||||
Reference in New Issue
Block a user