Merge branch 'develop' into johannes/webpack-5
This commit is contained in:
commit
9af4038fa0
1 changed files with 10 additions and 4 deletions
|
@ -54,10 +54,16 @@ describe("EditWysiwygComposer", () => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(
|
||||||
// Load the dynamic import
|
async () => {
|
||||||
customRender(false).unmount();
|
// Load the dynamic import
|
||||||
});
|
const component = customRender(false);
|
||||||
|
await component.findByRole("textbox");
|
||||||
|
component.unmount();
|
||||||
|
},
|
||||||
|
// it can take a while to load the wasm
|
||||||
|
20000,
|
||||||
|
);
|
||||||
|
|
||||||
it("Should not render the component when not ready", async () => {
|
it("Should not render the component when not ready", async () => {
|
||||||
// When
|
// When
|
||||||
|
|
Loading…
Reference in a new issue