Skip to content

Commit 028e396

Browse files
author
khoilt3
committed
chore: 👷 Clean up
1 parent b826569 commit 028e396

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CACHE_DATABASE_PATH="./other/cache.db"
55
SESSION_SECRET="f1f0e0ae386ede0f07e2e27b84b41006"
66
HONEYPOT_SECRET="super-duper-s3cret"
77
RESEND_API_KEY="re_blAh_blaHBlaHblahBLAhBlAh"
8-
SENTRY_DSN="your-dsn"
8+
SENTRY_DSN="https://c47f8b784e22cd7bb62a60b89086d081@o4508996653416448.ingest.us.sentry.io/4508996670652416"
99

1010
# this is set to a random value in the Dockerfile
1111
INTERNAL_COMMAND_TOKEN="some-made-up-token"

fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dockerfile = "/other/Dockerfile"
1717
ignorefile = "/other/Dockerfile.dockerignore"
1818

1919
[[services]]
20-
internal_port = 8_080
20+
internal_port = 8080
2121
processes = [ "app" ]
2222
protocol = "tcp"
2323
script_checks = [ ]

other/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ENV INTERNAL_PORT="8080"
6565
ENV PORT="8081"
6666
ENV NODE_ENV="production"
6767
# For WAL support: https://github.com/prisma/prisma-engines/issues/4675#issuecomment-1914383246
68-
ENV PRISMA_SCHEMA_DISABLE_ADVISORY_LOCK = "1"
68+
ENV PRISMA_SCHEMA_DISABLE_ADVISORY_LOCK="1"
6969

7070
# add shortcut for connecting to database CLI
7171
RUN echo "#!/bin/sh\nset -x\nsqlite3 \$DATABASE_URL" > /usr/local/bin/database-cli && chmod +x /usr/local/bin/database-cli

tests/fixtures/github/users.0.local.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@
33
"code": "MOCK_CODE_GITHUB_KODY",
44
"accessToken": "MOCK_CODE_GITHUB_KODY_mock_access_token",
55
"profile": {
6-
"login": "Bart57",
7-
"id": 6681445058407653,
8-
"name": "Ms. Connie Erdman",
6+
"login": "Cordia.Schneider",
7+
"id": 542154753422173,
8+
"name": "Lee Adams",
99
"avatar_url": "https://github.com/ghost.png",
1010
"emails": [
11-
"Cooper.Osinski@gmail.com",
12-
"Lillie.Lowe@hotmail.com",
13-
"General44@yahoo.com"
11+
"Shaun_Legros@hotmail.com",
12+
"Clementina_Berge69@hotmail.com",
13+
"Ellen41@hotmail.com"
1414
]
1515
},
1616
"emails": [
1717
{
18-
"email": "Cooper.Osinski@gmail.com",
18+
"email": "Shaun_Legros@hotmail.com",
1919
"verified": false,
2020
"primary": false,
2121
"visibility": "public"
2222
},
2323
{
24-
"email": "Lillie.Lowe@hotmail.com",
24+
"email": "Clementina_Berge69@hotmail.com",
2525
"verified": true,
2626
"primary": false,
2727
"visibility": null
2828
},
2929
{
30-
"email": "General44@yahoo.com",
30+
"email": "Ellen41@hotmail.com",
3131
"verified": true,
3232
"primary": true,
33-
"visibility": null
33+
"visibility": "public"
3434
}
3535
],
36-
"primaryEmail": "General44@yahoo.com"
36+
"primaryEmail": "Ellen41@hotmail.com"
3737
}
3838
]

tests/setup/db-setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import path from 'node:path'
21
import fsExtra from 'fs-extra'
2+
import path from 'node:path'
33
import { afterAll, beforeEach } from 'vitest'
44
import { BASE_DATABASE_PATH } from './global-setup.ts'
55

6-
const databaseFile = `./tests/prisma/data.${process.env.VITEST_POOL_ID || 0}.db`
6+
const databaseFile = `./tests/prisma/data.${process.env.VITEST_POOL_ID ?? 0}.db`
77
const databasePath = path.join(process.cwd(), databaseFile)
88
process.env.DATABASE_URL = `file:${databasePath}`
99

0 commit comments

Comments
 (0)