Skip to content

Commit f72f7af

Browse files
committed
fix: resuming for tests
1 parent c5f1397 commit f72f7af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/qwik/src/testing/rendering.unit-util.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export async function ssrRenderToDom(
137137
const containerElement = document.querySelector(QContainerSelector) as _ContainerElement;
138138
emulateExecutionOfQwikFuncs(document);
139139
const container = _getDomContainer(containerElement) as _DomContainer;
140+
await getTestPlatform().flush();
140141
const getStyles = getStylesFactory(document);
141142
if (opts.debug) {
142143
console.log('========================================================');

0 commit comments

Comments
 (0)