Skip to content

wip

wip #1055

Triggered via push November 25, 2024 18:59
Status Failure
Total duration 4m 49s
Artifacts

test.yml

on: push
build-and-push-image
4m 23s
build-and-push-image
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

90 errors
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561208056.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561208095.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561208126.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561208171.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561208182.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561208195.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561208202.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561208245.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561208247.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561209972.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561210023.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561210098.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561210134.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561210144.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561210150.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561210160.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561210200.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561210208.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561210783.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561210818.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561210858.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561210909.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561210918.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561210927.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561210937.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561211011.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561211016.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561218433.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561218458.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561218478.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561218528.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561218534.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561218539.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561218543.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561218566.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561218568.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561223613.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561223656.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561223686.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561223717.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561223723.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561223727.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561223733.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561223759.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561223762.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561230706.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561230736.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561230771.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561230800.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561230805.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561230809.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561230812.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561230844.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561230846.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561394227.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561394292.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561394420.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561394468.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561394480.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561394493.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561394515.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561394582.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561394587.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561413892.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561413966.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561414054.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561414116.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414129.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561414142.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414151.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414228.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414233.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18
tests/config.test.ts > parse vivliostyle config: tests/config.test.ts#L30
Error: Snapshot `parse vivliostyle config > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -155,10 +162,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561414558.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:30:24
tests/config.test.ts > override option by CLI command: tests/config.test.ts#L87
Error: Snapshot `override option by CLI command > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,49 @@ Object { "author": "myAuthor", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "author": "myAuthor", + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", + "format": Array [ + "webpub", + ], + "http": true, + "ignoreHttpsErrors": true, + "input": undefined, + "language": "myLanguage", + "logLevel": "info", + "output": Array [ + "yuno.pdf", + "yuno", + ], + "proxyBypass": ".example.com", + "proxyPass": "proxy-auth-password", + "proxyServer": "http://localhost:3128", + "proxyUser": "proxy-auth-user", + "size": "JIS-B5", + "style": "https://vivlostyle.org", + "targets": Array [ + Object { + "format": "pdf", + "path": "yuno.pdf", + }, + Object { + "format": "webpub", + "path": "yuno", + }, + ], + "theme": "https://myTheme.example.com", + "timeout": 42000, + "title": "myTitle", + "userStyle": "./user/style/dummy.css", + "viewer": "https://vivliostyle.org/viewer/", + "viewerParam": "allowScripts=false&pixelRatio=16", + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -149,10 +189,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 42000, "title": "myTitle", + "tmpPrefix": ".vs-1732561414620.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": "https://vivliostyle.org/viewer/", ❯ tests/config.test.ts:87:18
tests/config.test.ts > override option by environment variable: tests/config.test.ts#L98
Error: Snapshot `override option by environment variable > valid.1.config.js 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": undefined, + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -160,10 +167,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561414679.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:98:24
tests/config.test.ts > Loads same config file on each way: tests/config.test.ts#L122
AssertionError: expected { …(41) } to deeply equal { …(41) } - Expected + Received Object { "author": "author", "bleed": undefined, "browserType": "firefox", "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", "input": undefined, "logLevel": "info", "targets": Array [], }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ "jpeg", "svg", "gif", "webp", "apng", "ttf", "otf", "woff", "woff2", "zip", ], "includes": Array [ "xx/yy", "**/zz", ], }, "cover": Object { "htmlPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "name": "Cover image alt", "src": "__WORKSPACE__/tests/fixtures/config/cover.png", }, "cropMarks": false, "cropOffset": undefined, "css": undefined, "customStyle": undefined, "customUserStyle": undefined, "documentProcessorFactory": [Function VFM], "entries": Array [ Object { "coverImageAlt": "Cover image alt", "coverImageSrc": "__WORKSPACE__/tests/fixtures/config/cover.png", "rel": "cover", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/mycover.html", "themes": Array [], "title": "title", }, Object { "rel": "contents", "sectionDepth": 6, "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/toc.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "tocTitle": "TOC", "transform": Object { "transformDocumentList": undefined, "transformSectionList": undefined, }, }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "importPath": undefined, "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes/packages/debug-theme", "name": "debug-theme", "specifier": "__WORKSPACE__/tests/fixtures/themes/debug-theme", "type": "package", }, ], "title": "title", "type": "text/markdown", }, Object { "source": "__WORKSPACE__/tests/fixtures/config/manuscript.md", "target": "__WORKSPACE__/tests/fixtures/config/workspaceDir/manuscript.html", "themes": Array [ Object { "location": "__WORKSPACE__/tests/fixtures/config/workspaceDir/theme.css", "name": "theme.css", "source": "__WORKSPACE__/tests/fixtures/config/theme.css", "type": "file", }, ], "title": "title", "type": "text/markdown", }, ], "entryContextDir": "__WORKSPACE__/tests/fixtures/config", "executableBrowser": "__EXECUTABLE_CHROMIUM_PATH__", "exportAliases": Array [], "httpServer": false, "ignoreHttpsErrors": false, "image": "__IMAGE__", "input": Object { "entry": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "format": "pub-manifest", }, "language": "language", "logLevel": "info", "manifestPath": "__WORKSPACE__/tests/fixtures/config/workspaceDir/publication.json", "needToGenerateManifest": true, "outputs": Array [ Object { "format": "pdf", "path": "__WORKSPACE__/tests/fixtures/config/output1.pdf", "preflight": "press-ready", "preflightOption": Array [], "rende
tests/config.test.ts > yields a config with single markdown: tests/config.test.ts#L150
Error: Snapshot `yields a config with single markdown 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -67,10 +73,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": "Yuno", + "tmpPrefix": ".vs-1732561414734.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:150:18
tests/config.test.ts > imports single html file: tests/config.test.ts#L156
Error: Snapshot `imports single html file 1` mismatched - Expected + Received @@ -1,9 +1,15 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/config/sample.html", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -57,10 +63,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/config/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414745.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:156:18
tests/config.test.ts > yields a config with single input and vivliostyle config: tests/config.test.ts#L180
Error: Snapshot `yields a config with single input and vivliostyle config 1` mismatched - Expected + Received @@ -1,9 +1,16 @@ Object { "author": "author", "bleed": undefined, "browserType": "firefox", + "cliFlags": Object { + "config": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "configPath": "__WORKSPACE__/tests/fixtures/config/vivliostyle.config.valid.1.cjs", + "input": "__WORKSPACE__/tests/fixtures/config/nestedDir/01.md", + "logLevel": "info", + "targets": Array [], + }, "copyAsset": Object { "excludes": Array [ "*a*", ], "fileExtensions": Array [ @@ -117,10 +124,11 @@ }, }, "themesDir": "__WORKSPACE__/tests/fixtures/config/workspaceDir/themes", "timeout": 1, "title": "title", + "tmpPrefix": ".vs-1732561414757.", "vfmOptions": Object { "disableFormatHtml": true, "hardLineBreaks": true, }, "viewer": undefined, ❯ tests/config.test.ts:180:18
tests/config.test.ts > imports a EPUB file: tests/config.test.ts#L193
Error: Snapshot `imports a EPUB file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive.epub", + "logLevel": "info", + "output": Array [ + "epub.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414763.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:193:18
tests/config.test.ts > imports a EPUB OPF file: tests/config.test.ts#L203
Error: Snapshot `imports a EPUB OPF file 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/content.opf", + "logLevel": "info", + "output": Array [ + "epub-opf.pdf", + ], + "targets": Array [ + Object { + "format": "pdf", + "path": "epub-opf.pdf", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -58,10 +72,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/epubs/adaptive/OPS/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414833.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:203:18
tests/config.test.ts > imports a webbook compliant to W3C Web publication: tests/config.test.ts#L213
Error: Snapshot `imports a webbook compliant to W3C Web publication 1` mismatched - Expected + Received @@ -1,9 +1,23 @@ Object { "author": undefined, "bleed": undefined, "browserType": "chromium", + "cliFlags": Object { + "configPath": undefined, + "input": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/publication.json", + "logLevel": "info", + "output": Array [ + "w3c-webpub", + ], + "targets": Array [ + Object { + "format": "webpub", + "path": "w3c-webpub", + }, + ], + }, "copyAsset": Object { "excludes": Array [], "fileExtensions": Array [ "png", "jpg", @@ -55,10 +69,11 @@ "size": undefined, "themeIndexes": Set {}, "themesDir": "__WORKSPACE__/tests/fixtures/webbooks/w3c-webpub/themes", "timeout": 120000, "title": undefined, + "tmpPrefix": ".vs-1732561414839.", "vfmOptions": Object { "disableFormatHtml": false, "hardLineBreaks": false, }, "viewer": undefined, ❯ tests/config.test.ts:213:18