Add file to R2 to test against

Hi all, I am trying to write tests for my code that uses Workers and R2. The problem that I am running into is that I need to use files to populate the R2 bucket and as data to test against. I have several files that I need to place into the R2 bucket before the tests run since the test storage is apparently isolated from the local bucket (which I can load files into easily with wrangler). Then I also need to load a couple JSON files that contain a sample of my expected data. Is there a way to accomplish either/both of these things? I have been reading documentation and forum posts all day do not feel any closer to a solution. Thanks in advance.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server