sync rendering

This commit is contained in:
Samuel Degueldre
2023-09-29 11:25:24 +02:00
parent 9c40ee67e1
commit 94e978815f
19 changed files with 405 additions and 324 deletions
+2 -1
View File
@@ -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);