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
8 lines
273 B
JavaScript
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: {},
|
|
};
|