mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
add notification widget/full system
This commit is contained in:
@@ -280,6 +280,13 @@ describe("attributes", () => {
|
||||
expect(result).toBe(expected);
|
||||
});
|
||||
|
||||
test("static attributes with dashes", () => {
|
||||
qweb.addTemplate("test", `<div aria-label="Close"/>`);
|
||||
const result = renderToString(qweb, "test");
|
||||
const expected = `<div aria-label="Close"></div>`;
|
||||
expect(result).toBe(expected);
|
||||
});
|
||||
|
||||
test("static attributes on void elements", () => {
|
||||
qweb.addTemplate("test", `<img src="/test.jpg" alt="Test"/>`);
|
||||
const result = renderToString(qweb, "test");
|
||||
|
||||
Reference in New Issue
Block a user