7 Commits

Author SHA1 Message Date
Pronouns Page Technical
2f53924087 Update Node.js to v22.16.0 2025-06-02 15:07:02 +00:00
Valentyne Stigloher
04d179c8e6 (node) reupgrade node to 22.14.0, appears to be working now
reverts commit bd7a4ec7834a276282d6a21a711184a2343a62ed
2025-03-30 15:13:04 +02:00
Valentyne Stigloher
bd7a4ec783 (node) downgrade node to 22.13.1, because there are issues when installing dependencies via node-gyp 2025-03-29 20:35:00 +01:00
Pronouns Page Technical
2c513eb76a Update Node.js to v22 2025-03-29 15:06:34 +00:00
Valentyne Stigloher
546326fe6a (nuxt) use redis to store sessions 2025-03-19 14:25:46 +01:00
Valentyne Stigloher
d3a76a3c7e (test) apply single build to snapshot tests 2025-02-15 14:27:01 +01:00
Adaline Simonian
23a3862ca0
test: introduce snapshot-based smoke tests
- Adds a new test suite with Docker-based smoke tests for all locales.
  Can be run using the ./smoketest.sh script.
- Replaces all calls to Math.random() with a new helper that returns 0.5
  in snapshot testing mode, ensuring deterministic snapshots.
- Similarly replaces all calls to new Date() and Date.now() with new
  helpers that return a fixed date in snapshot testing mode.
- Replaces checks against NODE_ENV with APP_ENV, to ensure that the
  bundles can be built with Nuxt for testing without losing code that
  would otherwise be stripped out by production optimizations.
- Adds a database init script that can be used to initialize the
  database with a single admin user and a long-lived JWT token for use
  in automation tests.
- Adds a JWT decoding/encoding CLI tool for debugging JWTs.

Note: Snapshots are not checked in, and must be generated manually. See
test/__snapshots__/.gitignore for more information.
2025-02-02 23:11:19 -08:00