test(HH-615): align release gate contracts (#166)

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-24 14:59:02 +08:00
committed by GitHub
co-authored by rogee
parent 296951d801
commit 47ed9ca2f3
2 changed files with 4 additions and 2 deletions
@@ -11,7 +11,9 @@ const customBrand = {
const initializeEntrypoint = filename => {
const html = readFileSync(filename, 'utf8');
const inlineScript = html.match(/<script>\s*([\s\S]*?)<\/script>/);
const inlineScript = html.match(
/<script(?: type="module")?>\s*([\s\S]*?)<\/script>/
);
const runtimeConfigIndex = html.indexOf('/runtime-config.js');
expect(runtimeConfigIndex).toBeGreaterThan(-1);