all repos — caroster @ v6.0

[Octree] Group carpool to your event https://caroster.io

backend/config/env/test/database.ts (view raw)

 1import path from "path";
 2
 3export default ({ env }) => {
 4  return {
 5    connection: {
 6      client: "sqlite",
 7      connection: {
 8        filename: env("DATABASE_FILENAME", path.join(".tmp", "test.db")),
 9      },
10      useNullAsDefault: true,
11    },
12  };
13};