[IMP] templates: can load multiple at once and also from XMLDocument

This commit is contained in:
Bruno Boi
2021-11-16 11:39:01 +01:00
committed by Aaron Bohy
parent 03787cfb39
commit db93ef08ff
7 changed files with 184 additions and 59 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export function makeTestFixture() {
return fixture;
}
export function snapshotTemplateCode(template: string, options?: CodeGenOptions) {
export function snapshotTemplateCode(template: string | Node, options?: CodeGenOptions) {
expect(compileTemplate(template, options).toString()).toMatchSnapshot();
}