import { expect, test } from "@odoo/hoot"; import { KanbanCompiler } from "@web/views/kanban/kanban_compiler"; function compileTemplate(arch) { const parser = new DOMParser(); const xml = parser.parseFromString(arch, "text/xml"); const compiler = new KanbanCompiler({ kanban: xml.documentElement }); return compiler.compile("kanban"); } test("bootstrap dropdowns with kanban_ignore_dropdown class should be left as is", async () => { const arch = ` `; const expected = ` `; expect(compileTemplate(arch)).toHaveOuterHTML(expected); });