Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop' into johannes/webpack-5
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Nov 20, 2023
2 parents d43debc + 29ed917 commit 9af4038
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,16 @@ describe("EditWysiwygComposer", () => {
);
};

beforeAll(() => {
// Load the dynamic import
customRender(false).unmount();
});
beforeAll(
async () => {
// 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 () => {
// When
Expand Down

0 comments on commit 9af4038

Please sign in to comment.