import test from 'node:test' import assert from 'node:assert/strict' import { readFile } from 'node:fs/promises' const viteConfig = await readFile(new URL('../vite.config.js', import.meta.url), 'utf8') test('routes HMR through the public HTTPS development host', () => { assert.match(viteConfig, /host:\s*'elias\.reynafamily\.com'/) assert.match(viteConfig, /protocol:\s*'wss'/) assert.match(viteConfig, /clientPort:\s*443/) })