Skip to content

Rethrow Jsdom import errors properly

Sign in for the full log view
GitHub Actions / Test Results succeeded Jan 5, 2024 in 0s

Test Results ✅

Tests passed successfully

Report Passed Failed Skipped Time
TESTS-TestSuites-browser.xml 3✅ 1⚪ 5s
TESTS-TestSuites-jsdom.xml 4✅ 1s

✅ TESTS-TestSuites-browser.xml

4 tests were completed in 5s with 3 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
test/jsdom.test.js 1⚪ 0ms
test/main.test.js 3✅ 65ms

✅ test/jsdom.test.js

⚪ JsdomPageOpener > reports module loading errors

✅ test/main.test.js

✅ PageOpener > loads page with module successfully
✅ PageOpener > constructor throws if basePath is malformed
✅ PageOpener > open() throws if page path starts with '/'

✅ TESTS-TestSuites-jsdom.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/jsdom.test.js 1✅ 455ms
test/main.test.js 3✅ 425ms

✅ test/jsdom.test.js

✅ JsdomPageOpener > reports module loading errors

✅ test/main.test.js

✅ PageOpener > loads page with module successfully
✅ PageOpener > constructor throws if basePath is malformed
✅ PageOpener > open() throws if page path starts with '/'