Skip to content

Merge pull request #24 from mbland/bump-v1.0.6-add-jsdoc-merge-lcov #41

Merge pull request #24 from mbland/bump-v1.0.6-add-jsdoc-merge-lcov

Merge pull request #24 from mbland/bump-v1.0.6-add-jsdoc-merge-lcov #41

GitHub Actions / Test Results succeeded Jan 9, 2024 in 0s

Test Results ✅

Tests passed successfully

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

✅ TESTS-TestSuites-browser.xml

10 tests were completed in 5s with 7 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
test/browser.test.js 3✅ 2ms
test/jsdom.test.js 3⚪ 0ms
test/main.test.js 4✅ 63ms

✅ test/browser.test.js

✅ getCoverageKey > returns existing coverage key
✅ getCoverageKey > returns default __coverage__ key if no existing key
✅ BrowserPageOpener > open() throws if page fails to open

✅ test/jsdom.test.js

⚪ JsdomPageOpener > restores original globalThis.{window,document}
⚪ JsdomPageOpener > reports module loading errors
⚪ JsdomPageOpener > doesn't throw if missing app div

✅ test/main.test.js

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

✅ TESTS-TestSuites-jsdom.xml

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

Test suite Passed Failed Skipped Time
test/browser.test.js 2✅ 1⚪ 3ms
test/jsdom.test.js 3✅ 677ms
test/main.test.js 4✅ 633ms

✅ test/browser.test.js

✅ getCoverageKey > returns existing coverage key
✅ getCoverageKey > returns default __coverage__ key if no existing key
⚪ BrowserPageOpener > open() throws if page fails to open

✅ test/jsdom.test.js

✅ JsdomPageOpener > restores original globalThis.{window,document}
✅ JsdomPageOpener > reports module loading errors
✅ JsdomPageOpener > doesn't throw if missing app div

✅ test/main.test.js

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