const assert = require('node:assert/strict'); const fs = require('node:fs'); const path = require('node:path'); const test = require('node:test'); const page = fs.readFileSync(path.join(__dirname, '..', 'index.html'), 'utf8'); test('local AI adapter comes from the static service and starts after authenticated game entry', () => { assert.match(page, /