Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dumpInertia() testing method #433

Closed
wants to merge 1 commit into from

Conversation

JulienCauvin
Copy link

@JulienCauvin JulienCauvin commented Jul 22, 2022

This pull request intent is to add a new dumpInertia(string $key = null) method to TestResponseMacros file. Existing testing methods like dump(), dumpSession(), dumpHeaders() are very convenient in Laravel testing.

If parameter is not set, then all of the Inertia data will be printed (component, props, url, version, ...).
If parameter is set, then props property content will be printed (accepting dot-notation thanks to Arr:get())

@driesvints driesvints deleted the branch inertiajs:master May 15, 2024 15:01
@driesvints driesvints closed this May 15, 2024
@driesvints
Copy link
Collaborator

Heya. We removed our master branch. Feel free to re-attempt this to 1.x!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants