Phoenix.LiveViewTest.preflight_upload

You're seeing just the function preflight_upload, go back to Phoenix.LiveViewTest module for more information.
Link to this function

preflight_upload(upload)

View Source

Performs a preflight upload request.

Useful for testing external uploaders to retrieve the :external entry metadata.

Examples

avatar = file_input(lv, "#my-form-id", :avatar, [%{name: ..., ...}, ...])
assert {:ok, %{ref: _ref, config: %{chunk_size: _}}} = preflight_upload(avatar)