Skip to content

Commit

Permalink
Add back testing helper to die with the state
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 27, 2024
1 parent d12b001 commit e2b14c9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,11 @@ public function getState(int $index): ?TestNavItem
return $this->state()[$index] ?? null;
}

public function ddState(): void
{
dd($this->state());
}

/**
* @param array $expected The expected state format
* @param bool $strict If false, missing array keys are ignored
Expand Down

0 comments on commit e2b14c9

Please sign in to comment.