Skip to content

refactor(core): split functionality for better testability #47

refactor(core): split functionality for better testability

refactor(core): split functionality for better testability #47

Triggered via push May 4, 2024 19:46
Status Failure
Total duration 35s
Artifacts

release.yml

on: push
⚙️ Setup Node.js
14s
⚙️ Setup Node.js
✅ Linter
6s
✅ Linter
📦 Release Obsidian Plugin
0s
📦 Release Obsidian Plugin
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
✅ Linter: src/settings.ts#L6
Type string trivially inferred from a string literal, remove type annotation
✅ Linter: src/settings.ts#L7
Type boolean trivially inferred from a boolean literal, remove type annotation
✅ Linter: src/settings.ts#L8
Type boolean trivially inferred from a boolean literal, remove type annotation
✅ Linter: test/db.spec.ts#L13
'dbPath' is never reassigned. Use 'const' instead
✅ Linter: test/db.spec.ts#L25
'dbPath' is never reassigned. Use 'const' instead
✅ Linter: test/db.spec.ts#L37
'dbPath' is never reassigned. Use 'const' instead
✅ Linter: test/db.spec.ts#L50
'dbPath' is never reassigned. Use 'const' instead
✅ Linter: test/db.spec.ts#L59
'dbPath' is never reassigned. Use 'const' instead
✅ Linter: test/db.spec.ts#L71
'oneThousandBooks' is never reassigned. Use 'const' instead
✅ Linter: test/db.spec.ts#L72
'threeThousandsAnnotations' is never reassigned. Use 'const' instead
✅ Linter: src/db/seed.ts#L8
Unexpected any. Specify a different type
✅ Linter: test/mocks/obsidian.ts#L1
'parent' is defined but never used
✅ Linter: test/mocks/obsidian.ts#L1
'iconId' is defined but never used
✅ Linter: test/mocks/obsidian.ts#L1
'size' is defined but never used