Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rethrow Jsdom import errors properly #14

Merged
merged 1 commit into from
Jan 5, 2024

Rethrow Jsdom import errors properly

fc06c9a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Rethrow Jsdom import errors properly #14

Rethrow Jsdom import errors properly
fc06c9a
Select commit
Loading
Failed to load commit list.
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 '/'