test(harness): support cache-busted frontend module imports

This commit is contained in:
Alexandre Teixeira
2026-09-22 18:06:18 +01:00
parent 7e798fe925
commit dbba4978ee
7 changed files with 50 additions and 19 deletions
@@ -58,7 +58,7 @@ def _extract_thinking_blocks(text: str) -> dict:
let source = fs.readFileSync('./static/js/markdown.js', 'utf8');
source = source.replace(
/import uiModule from ['"]\.\/ui\.js['"];/,
/import uiModule from ['"]\.\/ui\.js(?:\?[^'"]*)?['"];?/,
''
);
source = source.replace(