ultimate-jekyll-manager 1.9.30 → 1.9.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65,6 +65,9 @@ async function runBootTests({ tests, projectRoot, ujmDistRoot }) {
|
|
|
65
65
|
|
|
66
66
|
const browser = await puppeteer.launch({
|
|
67
67
|
headless: 'new',
|
|
68
|
+
// Dev-mode _site builds point assets at the BrowserSync origin (self-signed
|
|
69
|
+
// cert) - without this, page JS silently never loads in those runs
|
|
70
|
+
acceptInsecureCerts: true,
|
|
68
71
|
args: [
|
|
69
72
|
'--no-sandbox',
|
|
70
73
|
'--disable-dev-shm-usage',
|
package/docs/test-boot-layer.md
CHANGED
|
@@ -8,6 +8,8 @@ Service workers refuse to register from `file://` URLs. Since SW registration /
|
|
|
8
8
|
|
|
9
9
|
The server also serves files with correct MIME types (text/html / text/javascript / text/css / application/json / image/png / etc.) and sets `Service-Worker-Allowed: /` so consumers can register a SW from any subdirectory.
|
|
10
10
|
|
|
11
|
+
The browser launches with `acceptInsecureCerts: true`: the boot layer serves whatever `_site/` exists, and a **dev-mode** build (consumer dev server running) points its asset URLs at the BrowserSync origin's self-signed cert — without the flag those requests are silently blocked, page JS never runs, and JS-dependent boot assertions time out. Harmless in a loopback test harness.
|
|
12
|
+
|
|
11
13
|
## `_site/` discovery order
|
|
12
14
|
|
|
13
15
|
The runner picks the first of these that has an `index.html`:
|