mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
sync rendering
This commit is contained in:
@@ -125,10 +125,11 @@ describe("refs", () => {
|
||||
}
|
||||
|
||||
const app = new App(Test, { test: true });
|
||||
const appError = nextAppError(app);
|
||||
const mountProm = expect(app.mount(fixture)).rejects.toThrowError(
|
||||
'Cannot set the same ref more than once in the same component, ref "coucou" was set multiple times in Test'
|
||||
);
|
||||
await expect(nextAppError(app)).resolves.toThrow(
|
||||
await expect(appError).resolves.toThrow(
|
||||
'Cannot set the same ref more than once in the same component, ref "coucou" was set multiple times in Test'
|
||||
);
|
||||
await mountProm;
|
||||
|
||||
Reference in New Issue
Block a user