diff --git a/packages/core/src/lint/rules/core.test.ts b/packages/core/src/lint/rules/core.test.ts index e3f99e76ff..e30f8f74b1 100644 --- a/packages/core/src/lint/rules/core.test.ts +++ b/packages/core/src/lint/rules/core.test.ts @@ -14,6 +14,54 @@ ${headContent} `; } +function compositionWithHeadBoundary(boundaryContent: string): string { + return ` + + + + +${boundaryContent} + +
+ + +`; +} + +function compositionWithBodyPrefix(prefixContent: string, rootContent = ""): string { + return ` + + + + + +${prefixContent} +
+${rootContent} +
+ + +`; +} + +function compositionWithImplicitBodyPrefix(prefixContent: string): string { + return ` + + + + +${prefixContent} +
+ +`; +} + function templateCompositionWithHead(headContent: string): string { return `