walkersyed581
walkersyed581
Explore posts from servers
CDCloudflare Developers
Created by walkersyed581 on 9/29/2023 in #workers-help
Wrangler D1 Migrations in Deployment giving non-specific error
No description
1 replies
DTDrizzle Team
Created by walkersyed581 on 9/21/2023 in #help
Trouble running JEST testing in Hono for Cloudfare Workers
So, I have an API setup in Hono with cloudfare workers and I setup the JEST tests but they don't seem to inject the D1 DB into the context environment so I can use it to init the DB and perform the associated request actions. I am trying to just do this locally. What am I doing wrong? I'm kinda new so any help would be much appreciated. The test just sends requests to the server, do I have to manually add the DB to the context so Drizzle ORM can be initialized or something else. Sorry, if I'm not using the right words to describe it
8 replies