ngareleo / donald

Mapesa platform
https://donald-rstm.vercel.app
1 stars 0 forks source link

Allow someone to run test that don't need a database call only #18

Open ngareleo opened 3 months ago

ngareleo commented 3 months ago

Task

This is a follow up task after #15 is marked as complete.

Details

Setting up tests with Neondb take time (we can fuck around with pg settings to lower this time). We should add a flag like "test:nonet" : "ENV=test bun run test --no-network" in thepackage.json that will ignore the setup and run only those tests that don't need Neon db