fix: ts issues #277
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 Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:70:1156)
at async Cu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:70:1237)
at async WO (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:626)
|
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#L119
AssertionError: expected "setIconForNode" to be called 1 times, but got 0 times
❯ src/lib/icon-tabs.test.ts:119:28
|
cache-and-install
Process completed with exit code 1.
|
cache-and-install
The following actions use a deprecated Node.js version 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/
|