Hey there how do you access R2 bindings

Hey there, how do you access R2 bindings in unstable_dev local: true mode? It seems it's creating fake R2 bindings.
4 Replies
vvo
vvoOP2y ago
miniflare's documentation says this can be done: https://miniflare.dev/testing/jest#isolated-storage But I don't see the way to do so with unstable_dev perhaps @MartinHujer you would know? I see you asked a similar question a while back: https://discord.com/channels/595317990191398933/799437470004412476/1067207591148650597 From what I understand this may never work given how unstable_dev launches wrangler? In this case, for local test, I will use persist: true and inspect fs, fine 👍 cc @rozenmd just in case
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server