mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
sync rendering
This commit is contained in:
@@ -223,8 +223,9 @@ describe("slots", () => {
|
||||
|
||||
let error: Error;
|
||||
const app = new App(Parent);
|
||||
const appError = nextAppError(app);
|
||||
const mountProm = app.mount(fixture).catch((e: Error) => (error = e));
|
||||
await expect(nextAppError(app)).resolves.toThrow("error occured in the owl lifecycle");
|
||||
await expect(appError).resolves.toThrow("error occured in the owl lifecycle");
|
||||
await mountProm;
|
||||
expect(error!).not.toBeNull();
|
||||
expect(mockConsoleWarn).toBeCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user