Files
iron-requiem/jest.config.deploy.js
Kay Kayyali 46019af026 S1.9: RED→GREEN — Docker deployment, Traefik routing, Cloudflare DNS
8 tests pass (webpack build, Docker build, container serve, HTTP 200+Content-Type,
page content, docker-compose, DNS API record, origin response, proxied URL):

Infrastructure deliverables:
- src/main.js — minimal Phaser 3 canvas bootstrap ('Iron Requiem' title text)
- webpack.config.js — html-webpack-plugin integration with SPA template
- Dockerfile — nginx:alpine + curl healthcheck + dist copy
- nginx.conf — SPA fallback (try_files  /index.html)
- docker-compose.yml — litellm_hermes-net, Traefik labels w/ cloudflare certresolver
- jest.config.deploy.js — node testEnvironment, no Phaser dependency
- tests/slice1_deploy.test.js — 8 deployment tests
- tests/dns_verify.sh — Cloudflare DNS verification script

Deployed at https://iron-requiem.damascusfront.net (HTTP 200 verified)
Container: iron-requiem on litellm_hermes-net, Traefik routing active
2026-05-23 06:19:31 +00:00

8 lines
273 B
JavaScript

/** @type {import('jest').Config} */
module.exports = {
testEnvironment: 'node', // deployment tests don't need DOM
testMatch: ['**/tests/slice1_deploy.test.js'],
setupFiles: [], // no Phaser setup needed
moduleNameMapper: {},
};