fix(test): match hashed runtime asset selector

Update the shared test selector to accept hemx-axum's content-hashed runtime script path instead of the old fixed /hemx.js path.

req: axum/005

req: test/001
This commit is contained in:
slhx agent
2026-06-11 19:58:54 +02:00
parent c730a868e5
commit 40b9bcb5fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ fn builds_authoring_boundary_selectors() {
assert_eq!(hemx_test::document_title_selector(), "title");
assert_eq!(
hemx_test::runtime_script_selector(),
r#"script[src="/hemx.js"]"#
r#"script[src^="/hemx."][src$=".js"]"#
);
assert_eq!(
hemx_test::target_selector(TestTarget(ResourceKind::Slot, 42)),