[IMP] qweb: add default template in QWeb

This commit is contained in:
Géry Debongnie
2019-05-15 10:55:17 +02:00
parent 8e098e8ed6
commit 04eb720619
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1024,7 +1024,7 @@ describe("loading templates", () => {
test("does not crash if string does not have templates", () => {
const data = "";
qweb.loadTemplates(data);
expect(qweb.templates).toEqual({});
expect(Object.keys(qweb.templates)).toEqual(["default"]);
});
});