11 lines
316 B
JavaScript
11 lines
316 B
JavaScript
import { test } from "@odoo/hoot";
|
|
import { testEditor } from "./_helpers/editor";
|
|
|
|
test("should remove empty class attribute", async () => {
|
|
// content after is compared after cleaning up DOM
|
|
await testEditor({
|
|
contentBefore: '<div class=""></div>',
|
|
contentAfter: "<div></div>",
|
|
});
|
|
});
|