Skip to content

fix: handle scripts missing src #1075

fix: handle scripts missing src

fix: handle scripts missing src #1075

Triggered via push September 4, 2024 03:41
Status Failure
Total duration 1m 7s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test/e2e/extend-registry.test.ts > basic > extended registry script loads and executes function: test/e2e/extend-registry.test.ts#L27
Error: Snapshot `basic > extended registry script loads and executes function 1` mismatched - Expected + Received @@ -9,6 +9,10 @@ }, { "location": "/myScript.js:3", "text": "Script -- Executed -- test", }, + { + "location": "/:0", + "text": "The resource http://127.0.0.1:45157/myScript.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.", + }, ] ❯ it.timeout test/e2e/extend-registry.test.ts:27:68
ci
Process completed with exit code 1.