adding api unit tests (#108)

* adding api unit tests

* adding not signed in alerts to flights and logs
This commit was merged in pull request #108.
This commit is contained in:
2026-03-08 14:58:24 -05:00
committed by GitHub
parent b7e74242b8
commit 487afb08d6
40 changed files with 1621 additions and 182 deletions

View File

@@ -60,7 +60,7 @@ resource "azurerm_container_app" "container_app" {
container {
cpu = 0.25
image = "noahspan/flying:20588458616"
image = "noahspan/flying:20589367895"
memory = "0.5Gi"
name = "flying"
@@ -99,6 +99,11 @@ resource "azurerm_container_app" "container_app" {
value = var.JWKS_URI
}
env {
name = "NODE_ENV"
value = "test"
}
env {
name = "SESSION_SECRET"
secret_name = "session-secret"
@@ -116,13 +121,13 @@ resource "azurerm_container_app" "container_app" {
env {
name = "DB_SYNC"
value = "false"
value = "true"
}
startup_probe {
failure_count_threshold = 10
initial_delay = 1
interval_seconds = 2
failure_count_threshold = 3
initial_delay = 15
interval_seconds = 30
path = "/api/health"
port = 3000
transport = "HTTP"