aiillssa / Husky-Hustler-Backend

Backend for husky hustler. Here is the frontend: https://github.com/aiillssa/Husky-Hustlers-Frontend
1 stars 0 forks source link

Testing Bug: Unable to connect to AppDataSource #13

Open aiillssa opened 1 week ago

aiillssa commented 1 week ago

When testing, if there are issues connecting to the AppDataSource, make sure that any before and after hooks are inside the describe block! Make sure it is before the it! Additionally, make sure we initialize the AppDataSource using AppDataSource.initialize() in the before hook, and then destroy the connection with AppDataSource.destroy()