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
@@ -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;