Skip to content

ci: wip

ci: wip #22

Triggered via push June 20, 2024 00:06
Status Failure
Total duration 9m 6s
Artifacts

vitest.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
tests/unit/utils/TexComponent.test.ts > TexHandler.process() > compile (poppler) > should work: workspace/src/utils/TexComponent.ts#L864
AssertionError: expected "log" to not be called at all, but actually been called 1 times Received: 1st log call: Array [ Object { "severity": "error", "style": "dim", }, "Error: Unable to find linux Poppler binaries, please pass the installation directory as a parameter to the Poppler instance. at new Poppler (/workspace/node_modules/.pnpm/[email protected]/node_modules/node-poppler/src/index.js:126:10) at TexComponent.compile (/workspace/src/utils/TexComponent.ts:864:51) at TexHandler.process [as _process] (/workspace/src/handlers/TexHandler.ts:170:17) at TexHandler.<anonymous> (/workspace/src/handlers/Handler.ts:105:25) at /workspace/tests/unit/utils/TexComponent.test.ts:616:13 at runTest (file:///workspace/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:781:11) at runSuite (file:///workspace/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15) at runSuite (file:///workspace/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15) at runSuite (file:///workspace/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15) at runFiles (file:///workspace/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:958:5)", ] Number of calls: 1 ❯ new Poppler node_modules/.pnpm/[email protected]/node_modules/node-poppler/src/index.js:126:10 ❯ TexComponent.compile src/utils/TexComponent.ts:864:51 ❯ TexHandler.process [as _process] src/handlers/TexHandler.ts:170:17 ❯ TexHandler.<anonymous> src/handlers/Handler.ts:105:25 ❯ tests/unit/utils/TexComponent.test.ts:616:13 ❯ tests/unit/utils/TexComponent.test.ts:633:29
tests/unit/utils/TexComponent.test.ts > compile() > tikz > gradients > lualatex (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L846
Error: ENOENT: no such file or directory, open 'tmp/tests/5c6a2321-5d16-4691-9f26-a6625fe43f2e/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:846:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/5c6a2321-5d16-4691-9f26-a6625fe43f2e/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > gradients > lualatexmk (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L846
Error: ENOENT: no such file or directory, open 'tmp/tests/a7c4aee0-6a74-4ce9-b90f-f64a02af5f62/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:846:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/a7c4aee0-6a74-4ce9-b90f-f64a02af5f62/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > gradients > pdflatex (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L846
Error: ENOENT: no such file or directory, open 'tmp/tests/87844626-6b2c-4c67-b79a-5f0b853abac9/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:846:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/87844626-6b2c-4c67-b79a-5f0b853abac9/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > gradients > pdflatexmk (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L846
Error: ENOENT: no such file or directory, open 'tmp/tests/ee575725-6c46-414e-9dc8-e75e5d333007/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:846:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/ee575725-6c46-414e-9dc8-e75e5d333007/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > transparency > lualatex (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L916
Error: ENOENT: no such file or directory, open 'tmp/tests/928cfb9a-5545-4397-ae0b-9ed6ea21ff8f/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:916:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/928cfb9a-5545-4397-ae0b-9ed6ea21ff8f/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > transparency > lualatexmk (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L916
Error: ENOENT: no such file or directory, open 'tmp/tests/d862d49f-06cc-4883-97d3-46299adbe515/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:916:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/d862d49f-06cc-4883-97d3-46299adbe515/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > transparency > pdflatex (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L916
Error: ENOENT: no such file or directory, open 'tmp/tests/b715eb0f-19ad-4b1e-b5d5-895a73d98b17/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:916:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/b715eb0f-19ad-4b1e-b5d5-895a73d98b17/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > tikz > transparency > pdflatexmk (pdf) + poppler: workspace/tests/unit/utils/TexComponent.test.ts#L916
Error: ENOENT: no such file or directory, open 'tmp/tests/67320284-8dbc-4c49-a24d-e3317b1e0d8b/output/tex/ref.svelte' ❯ tests/unit/utils/TexComponent.test.ts:916:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: 'tmp/tests/67320284-8dbc-4c49-a24d-e3317b1e0d8b/output/tex/ref.svelte' }
tests/unit/utils/TexComponent.test.ts > compile() > caching > pdflatex (pdf) + dvisvgm: workspace/tests/unit/utils/TexComponent.test.ts#L1013
AssertionError: expected "writeFile" to be called 4 times, but got 3 times ❯ tests/unit/utils/TexComponent.test.ts:1013:39
test
No files were found with the provided path: vitest-report/. No artifacts will be uploaded.