Replies: 2 comments 1 reply
-
Same problem here. @mr-yogesh-galav did you find a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
bumpin the issue is there a way to achieve this without rewriting the package? or do we basically have to create the file somewhere and serve it up as a "laravel" file download? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are streaming the file on browser with the following code.
SimpleExcelWriter::streamDownload('commitments.csv')
->noHeaderRow()
->addRow($header_row)
->addRows($commitment_arr)
->toBrowser();
But not able to write test for it as, it gives CSV file output on console itself.
regardless of whatever function we use after hitting the end point in test.
We had tried with streamDownload, assertDownload.
Beta Was this translation helpful? Give feedback.
All reactions