mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] move app and compiler code around
This commit is contained in:
committed by
Samuel Degueldre
parent
06ea6d2490
commit
a187a376a0
+4
-3
@@ -14,8 +14,9 @@ import {
|
||||
} from "../src";
|
||||
import { BDom } from "../src/blockdom";
|
||||
import { blockDom } from "../src";
|
||||
import { CompileOptions, compileTemplate, Template } from "../src/compiler/code_generator";
|
||||
import { globalTemplates, TemplateSet, UTILS } from "../src/compiler/template_helpers";
|
||||
import { compile as compileTemplate, Template } from "../src/compiler";
|
||||
import { CodeGenOptions } from "../src/compiler/code_generator";
|
||||
import { globalTemplates, TemplateSet, UTILS } from "../src/app/template_helpers";
|
||||
import { xml } from "../src/tags";
|
||||
|
||||
const mount = blockDom.mount;
|
||||
@@ -36,7 +37,7 @@ export function makeTestFixture() {
|
||||
return fixture;
|
||||
}
|
||||
|
||||
export function snapshotTemplateCode(template: string, options?: CompileOptions) {
|
||||
export function snapshotTemplateCode(template: string, options?: CodeGenOptions) {
|
||||
expect(compileTemplate(template, options).toString()).toMatchSnapshot();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user