Skip to content

refactor: icon pack manager #301

refactor: icon pack manager

refactor: icon pack manager #301

Triggered via pull request December 17, 2024 13:45
Status Failure
Total duration 32s
Artifacts

unit-test.yml

on: pull_request
cache-and-install
23s
cache-and-install
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
cache-and-install
Failed to parse the json-summary at path "/home/runner/work/obsidian-iconize/obsidian-iconize/coverage/coverage-summary.json." Make sure to run vitest before this action and to include the "json-summary" reporter. Original Error: Error: ENOENT: no such file or directory, open '/home/runner/work/obsidian-iconize/obsidian-iconize/coverage/coverage-summary.json' at async open (node:internal/fs/promises:639:25) at async readFile (node:internal/fs/promises:1242:14) at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797) at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878) at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
cache-and-install
Error: ENOENT: no such file or directory, open '/home/runner/work/obsidian-iconize/obsidian-iconize/coverage/coverage-summary.json'
src/icon-pack-manager.test.ts > getSvgFromLoadedIcon > should return svg from loaded icon: src/icon-pack-manager.test.ts#L6
TypeError: setPreloadedIcons is not a function ❯ src/icon-pack-manager.test.ts:6:21
src/icon-pack-manager.test.ts > getSvgFromLoadedIcon > should get icon from icon pack which does not has a normalized name: src/icon-pack-manager.test.ts#L37
TypeError: setPreloadedIcons is not a function ❯ src/icon-pack-manager.test.ts:37:21
src/icon-pack-manager.test.ts > getIconFromIconPack > should return icon from icon pack: src/icon-pack-manager.test.ts#L58
TypeError: setIconPacks is not a function ❯ src/icon-pack-manager.test.ts:58:21
src/icon-pack-manager.test.ts > getIconFromIconPack > should return `undefined` when icon pack is not found: src/icon-pack-manager.test.ts#L106
TypeError: setIconPacks is not a function ❯ src/icon-pack-manager.test.ts:106:21
src/icon-pack-manager.test.ts > doesIconExists > should return `false` if icon does not exist in loaded icon names: src/icon-pack-manager.test.ts#L116
TypeError: setIconPacks is not a function ❯ src/icon-pack-manager.test.ts:116:21
src/icon-pack-manager.test.ts > createIconPackPrefix > should return icon pack prefix with uppercase first letter: src/icon-pack-manager.test.ts#L151
TypeError: createIconPackPrefix is not a function ❯ src/icon-pack-manager.test.ts:151:28
cache-and-install
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636