[FIX] vdom: fix typing issues, small cleanup

This commit is contained in:
Géry Debongnie
2019-04-20 23:31:23 +02:00
parent 2fbf4f2c22
commit f5ce05c81e
3 changed files with 16 additions and 19 deletions
+1 -5
View File
@@ -1,6 +1,4 @@
import sdAttributes from "../libs/snabbdom/src/modules/attributes";
import sdListeners from "../libs/snabbdom/src/modules/eventlisteners";
import { init } from "../libs/snabbdom/src/snabbdom";
import { patch } from "../src/vdom";
import { EvalContext, QWeb } from "../src/qweb";
import { normalize } from "./helpers";
@@ -11,8 +9,6 @@ import { normalize } from "./helpers";
// We create before each test:
// - qweb: a new QWeb instance
const patch = init([sdAttributes, sdListeners]);
let qweb: QWeb;
beforeEach(() => {