Bryan Stopp
CDCloudflare Developers
•Created by Bryan Stopp on 8/6/2024 in #workers-help
Create FixedLengthStream?
Probably a very basic question, but how do you create an instance of
FixedLengthStream
?
Created a new project via npx create-cloudflare@latest
and just adding a simple line of:
Doesn't throw an error when i run the tests - but that type isn't defined.
However, when I add the same logic to my live project, I get FixedLengthStream is not defined
.
Is the test only working because the demo Hello World project uses vitest? Is there any way to make this work using Miniflare (what i'm using in my project)?
Any help would be appreciated.1 replies