Fix Two Rivers production age gate
All checks were successful
Build Org Website / build (push) Successful in 44s

This commit is contained in:
gitea-actions
2026-07-31 14:15:42 +01:00
parent 4659edc658
commit 262d943443
4 changed files with 42 additions and 3 deletions

View File

@@ -133,10 +133,12 @@ test("page uses local pinned libraries and production source is clean", () => {
assert.match(page, /phaser-3\.90\.0\.min\.js/);
assert.match(page, /gsap-3\.13\.0\.min\.js/);
assert.match(page, /howler-2\.2\.4\.min\.js/);
assert.match(page, /games\/two-rivers\/gate\.js\?v=1\.0\.1/);
assert.doesNotMatch(page, /https?:\/\//);
const source = [
page,
read("assets/scripts/games/two-rivers/main.js"),
read("assets/scripts/games/two-rivers/gate.js"),
read("assets/scripts/games/two-rivers/core/state.mjs"),
read("assets/scripts/games/two-rivers/ui/interface.mjs"),
read("assets/scripts/games/two-rivers/scenes/game-scenes.mjs")