Skip to content

fix(lib): issue with incorrect font size in tab (#531) #267

fix(lib): issue with incorrect font size in tab (#531)

fix(lib): issue with incorrect font size in tab (#531) #267

Triggered via push July 22, 2024 06:58
Status Failure
Total duration 25s
Artifacts

unit-test.yml

on: push
cache-and-install
17s
cache-and-install
Fit to window
Zoom out
Zoom in

Annotations

4 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:636:25) at async readFile (node:internal/fs/promises:1246:14) at async ay (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:191) at async ll (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:272) at async Uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:1910)
cache-and-install
Error: ENOENT: no such file or directory, open '/home/runner/work/obsidian-iconize/obsidian-iconize/coverage/coverage-summary.json'
src/lib/icon-tabs.test.ts > add > should call `dom.setIconForNode` when icon is found in data: src/lib/icon-tabs.test.ts#L120
AssertionError: expected "setIconForNode" to be called with arguments: [ { …(2) }, 'test', …(2) ] Received: 1st setIconForNode call: Array [ Object { "getData": [Function getData], "getSettings": [Function getSettings], }, "test", <div style="display: flex;" />, "purple", + false, ] Number of calls: 1 ❯ src/lib/icon-tabs.test.ts:120:28
cache-and-install
Process completed with exit code 1.
cache-and-install
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/