mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] component: make observer and state optional
This commit is contained in:
@@ -72,7 +72,7 @@ describe("basic widget properties", () => {
|
||||
test("props and state are properly defined", async () => {
|
||||
const widget = new Widget(env);
|
||||
expect(widget.props).toEqual({});
|
||||
expect(widget.state).toEqual({});
|
||||
expect(widget.state).toEqual(undefined);
|
||||
});
|
||||
|
||||
test("has no el after creation", async () => {
|
||||
|
||||
Reference in New Issue
Block a user