mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] misc: update typescript to 4.5.2
This commit is contained in:
committed by
Aaron Bohy
parent
629b379ea9
commit
f3555cfae0
@@ -57,14 +57,14 @@ describe("t-model directive", () => {
|
||||
</div>`;
|
||||
state = useState({ text: "" });
|
||||
}
|
||||
let error;
|
||||
let error: Error;
|
||||
try {
|
||||
await mount(SomeComponent, fixture);
|
||||
} catch (e) {
|
||||
error = e;
|
||||
error = e as Error;
|
||||
}
|
||||
expect(error).toBeDefined();
|
||||
expect(error.message).toBe(`Invalid t-model expression: "state" (it should be assignable)`);
|
||||
expect(error!).toBeDefined();
|
||||
expect(error!.message).toBe(`Invalid t-model expression: "state" (it should be assignable)`);
|
||||
});
|
||||
|
||||
test("basic use, on another key in component", async () => {
|
||||
|
||||
Reference in New Issue
Block a user