Closed rak3rman closed 7 months ago
Figure out a way to mock the Cloudflare D1 database in Jest. I'd suggest adding some "beforeAll"/"setup" rule that completes all setup actions before running each unit test. Blocks #36, #35, #34.
Figure out a way to mock the Cloudflare D1 database in Jest. I'd suggest adding some "beforeAll"/"setup" rule that completes all setup actions before running each unit test. Blocks #36, #35, #34.