Philipp Humburg
03/11/2021, 6:33 AMRyan
03/11/2021, 6:40 AMAlex Ruheni
Philipp Humburg
03/11/2021, 9:17 AMPhilipp Humburg
03/11/2021, 9:22 AMPhilipp Humburg
03/11/2021, 9:24 AMAlex Ruheni
DATABASE_URL
in your __helpers.ts
file which is causing the error.
The tutorial uses an in-memory instance of SQLite, and therefore you don't have to define a DATABASE_URL
.
Once you comment out the line or remove it and then run npm run test -u
, they should work.
Since you'd like to define a url to your own database, update the following line that will point to your preferred SQLite db.
const client = new Database("./test.db");
Don't hesitate to let me know if you run into any errors. ๐Philipp Humburg
03/11/2021, 10:30 AMPhilipp Humburg
03/11/2021, 12:21 PMPhilipp Humburg
03/12/2021, 1:54 PMPhilipp Humburg
03/12/2021, 4:49 PM