Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public function testLateCollectWithCollectedData(bool $collectComponents): void
$mounted = new MountedComponent('foo', new \stdClass(), new ComponentAttributes([], new EscaperRuntime()));
$eventA = new PreRenderEvent($mounted, new ComponentMetadata(['key' => 'foo', 'template' => 'bar']), []);
$logger->onPreRender($eventA);
// without it, both events often get the same microtime() and the render time is 0.0
usleep(1);
$eventB = new PostRenderEvent($mounted);
$logger->onPostRender($eventB);

Expand Down
Loading